Merge pull request #1369 from SiboVG/issue-1141

[Fixes #1141] Fix packed length overlap
This commit is contained in:
Joe Pfeiffer 2022-05-23 15:18:20 -06:00 committed by GitHub
commit 62113b817f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");