Merge pull request #1096 from SiboVG/issue-transition-clipped

Fix transition 'Clipped' checkbox overlapping with comment
This commit is contained in:
Joe Pfeiffer 2022-01-31 10:52:20 -07:00 committed by GitHub
commit 6b24e0f58d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ public class TransitionConfig extends RocketComponentConfig {
public TransitionConfig(OpenRocketDocument d, RocketComponent c) { public TransitionConfig(OpenRocketDocument d, RocketComponent c) {
super(d, c); super(d, c);
final JPanel panel = new JPanel(new MigLayout("gap rel unrel", "[][65lp::][30lp::]", "")); final JPanel panel = new JPanel(new MigLayout("gap rel unrel, fillx", "[][65lp::][30lp::]", ""));
//// Shape selection //// Shape selection
//// Transition shape: //// Transition shape:
@ -69,7 +69,7 @@ public class TransitionConfig extends RocketComponentConfig {
updateEnabled(); updateEnabled();
} }
}); });
panel.add(typeBox, "span, split 2"); panel.add(typeBox, "span 3, split 2");
{//// Clipped {//// Clipped
final JCheckBox checkbox = new JCheckBox(new BooleanModel(component, "Clipped")); final JCheckBox checkbox = new JCheckBox(new BooleanModel(component, "Clipped"));