Add back instance panel dropped in previous commit
Adds back the instance options in the previous commit for specifying instance details about rail buttons. This change adds it back but slightly tweaks the layout and location in order to keep the config panel in a 2 column arrangement. Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
This commit is contained in:
parent
3995a330da
commit
e0983c05cc
@ -78,10 +78,6 @@ public class RailButtonConfig extends RocketComponentConfig {
|
||||
panel.add(new BasicSlider( angleModel.getSliderModel(-180, 180)), "w 100lp, wrap");
|
||||
}
|
||||
|
||||
primary.add(panel, "grow, gapright 201p");
|
||||
panel = new JPanel(new MigLayout("gap rel unrel", "[][65lp::][30lp::][]", ""));
|
||||
|
||||
|
||||
{ //// Position relative to:
|
||||
panel.add(new JLabel(trans.get("RailBtnCfg.lbl.PosRelativeTo")));
|
||||
|
||||
@ -104,6 +100,12 @@ public class RailButtonConfig extends RocketComponentConfig {
|
||||
|
||||
}
|
||||
|
||||
primary.add(panel, "grow, gapright 201p");
|
||||
panel = new JPanel(new MigLayout("gap rel unrel", "[][65lp::][30lp::][]", ""));
|
||||
|
||||
//// Instance count
|
||||
panel.add( instanceablePanel(rbc), "span, wrap");
|
||||
|
||||
//// Material
|
||||
panel.add(materialPanel(Material.Type.BULK),"span, wrap");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user