[#1141] Fix packed length overlap

This commit is contained in:
SiboVG 2022-05-23 00:29:34 +02:00
parent 586b85e536
commit 8db5ce3a61
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ public class RocketComponentConfig extends JPanel {
String finishString,
String partName) {
JPanel subPanel = new JPanel(new MigLayout());
JPanel subPanel = new JPanel(new MigLayout("insets 0"));
JLabel label = new JLabel(materialString);
//// The component material affects the weight of the component.
label.setToolTipText(trans.get("RocketCompCfg.lbl.ttip.componentmaterialaffects"));

View File

@ -53,7 +53,7 @@ public class ShockCordConfig extends RocketComponentConfig {
// Material
//// Shock cord material:
panel.add(materialPanel(Material.Type.LINE, trans.get("ShockCordCfg.lbl.Shockcordmaterial"), null, "Material"), "span, wrap");
panel.add(materialPanel(Material.Type.LINE, trans.get("ShockCordCfg.lbl.Shockcordmaterial"), null, "Material"), "spanx 4, wrap");