.. | .. |
---|
30 | 30 | { |
---|
31 | 31 | super.SetupUI2(oe); |
---|
32 | 32 | |
---|
33 | | - oe.ctrlPanel.add(depthLabel = new JLabel("Depth"), oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
34 | | - oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
35 | | - oe.aConstraints.gridx += 1; |
---|
36 | | - oe.aConstraints.gridwidth = ObjEditor.GRIDWIDTH; |
---|
37 | | - oe.ctrlPanel.add(depthField = new NumberSlider(0, 5), oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
38 | | - oe.aConstraints.gridy += 1; |
---|
39 | | - oe.aConstraints.gridwidth = 1; |
---|
40 | | - oe.aConstraints.fill = 0; |
---|
41 | | - oe.aConstraints.gridx -= 1; |
---|
| 33 | + oe.ctrlPanel.add(depthLabel = new JLabel("Depth")); //, oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
| 34 | + oe.ctrlPanel.Return(); |
---|
| 35 | + oe.ctrlPanel.add(depthField = new NumberSlider(0, 5)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount()-2); |
---|
42 | 36 | |
---|
43 | 37 | depthField.setInteger(bezier.GetDepth()); |
---|
44 | 38 | depthField.addChangeListener(this); |
---|