[#1841] Wrap fin shape editor table and figure in split pane
This commit is contained in:
parent
b42acb5416
commit
77822ec671
@ -29,6 +29,7 @@ import javax.swing.JPanel;
|
||||
import javax.swing.JScrollPane;
|
||||
import javax.swing.JSeparator;
|
||||
import javax.swing.JSpinner;
|
||||
import javax.swing.JSplitPane;
|
||||
import javax.swing.JTable;
|
||||
import javax.swing.ListSelectionModel;
|
||||
import javax.swing.SwingConstants;
|
||||
@ -303,10 +304,12 @@ public class FreeformFinSetConfig extends FinSetConfig {
|
||||
panel.setLayout(new MigLayout("fill, gap 5!","", "[nogrid, fill, sizegroup display, growprio 200]5![sizegroup text, growprio 5]5![sizegroup buttons, align top, growprio 5]0!"));
|
||||
|
||||
// first row: main display
|
||||
panel.add(tablePane, "width 100lp:100lp:, growy");
|
||||
JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, tablePane, figurePane);
|
||||
splitPane.setResizeWeight(0.1);
|
||||
splitPane.setBorder(null);
|
||||
panel.add(splitPane, "width 300lp:500lp:, gap unrel, grow, height 100lp:250lp:, wrap");
|
||||
order.add(table);
|
||||
panel.add(figurePane, "width 200lp:400lp:, gap unrel, grow, height 100lp:250lp:, wrap");
|
||||
|
||||
|
||||
// row of text directly below figure
|
||||
panel.add(new StyledLabel(trans.get("lbl.doubleClick1")+" "+trans.get("FreeformFinSetConfig.lbl.doubleClick2"), -2), "spanx 3");
|
||||
panel.add(new StyledLabel(trans.get("FreeformFinSetConfig.lbl.clickDrag"), -2), "spanx 3");
|
||||
|
Loading…
x
Reference in New Issue
Block a user