Add left padding to PropertySheetPanel JTable.
This commit is contained in:
parent
d5f1a9eeee
commit
0a7907f3f6
@ -47,8 +47,6 @@ public class EvAModuleButtonPanelMaker implements OptimizationStateListener, Ser
|
|||||||
|
|
||||||
moduleAdapter.addOptimizationStateListener(this);
|
moduleAdapter.addOptimizationStateListener(this);
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
runButton = ToolBoxGui.createIconifiedButton("images/Play24.gif", "Start", true);
|
runButton = ToolBoxGui.createIconifiedButton("images/Play24.gif", "Start", true);
|
||||||
runButton.setToolTipText("Start the current optimization run.");
|
runButton.setToolTipText("Start the current optimization run.");
|
||||||
|
|
||||||
@ -67,7 +65,6 @@ public class EvAModuleButtonPanelMaker implements OptimizationStateListener, Ser
|
|||||||
|
|
||||||
stopButton = ToolBoxGui.createIconifiedButton("images/Stop24.gif", "Stop", true);
|
stopButton = ToolBoxGui.createIconifiedButton("images/Stop24.gif", "Stop", true);
|
||||||
stopButton.setToolTipText("Stop the current optimization run.");
|
stopButton.setToolTipText("Stop the current optimization run.");
|
||||||
//stopButton.setBorderPainted(false);
|
|
||||||
stopButton.addActionListener(new ActionListener() {
|
stopButton.addActionListener(new ActionListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -170,6 +170,7 @@ public class PropertySheetPanel extends JPanel implements PropertyChangeListener
|
|||||||
propertyTable.setRowHeight(20);
|
propertyTable.setRowHeight(20);
|
||||||
propertyTable.setDragEnabled(false);
|
propertyTable.setDragEnabled(false);
|
||||||
propertyTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
|
propertyTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
|
||||||
|
propertyTable.setIntercellSpacing(new Dimension(8, 0));
|
||||||
|
|
||||||
// Close any child windows at this point
|
// Close any child windows at this point
|
||||||
removeAll();
|
removeAll();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user