Fix layout in sim preferences
This commit is contained in:
parent
e6ee6573f6
commit
1361c1a46d
@ -28,7 +28,6 @@ public class PreferencesDialog extends JDialog {
|
||||
private static final Logger log = LoggerFactory
|
||||
.getLogger(PreferencesDialog.class);
|
||||
|
||||
private File defaultDirectory = null;
|
||||
private static final Translator trans = Application.getTranslator();
|
||||
|
||||
private final SwingPreferences preferences = (SwingPreferences) Application
|
||||
|
@ -32,7 +32,7 @@ public class SimulationPreferencesPanel extends PreferencesPanel {
|
||||
|
||||
|
||||
public SimulationPreferencesPanel() {
|
||||
super(new MigLayout("fill"));
|
||||
super(new MigLayout("fillx"));
|
||||
|
||||
// Confirm deletion of simulations:
|
||||
final JCheckBox confirmDelete = new JCheckBox(
|
||||
@ -74,7 +74,7 @@ public class SimulationPreferencesPanel extends PreferencesPanel {
|
||||
// // Simulator options
|
||||
sub.setBorder(BorderFactory.createTitledBorder(trans
|
||||
.get("simedtdlg.border.Simopt")));
|
||||
this.add(sub, "growx, growy, aligny 0");
|
||||
this.add(sub, "grow, aligny 0, gaptop 40lp");
|
||||
|
||||
// Separate panel for computation methods, as they use a different
|
||||
// layout
|
||||
|
Loading…
x
Reference in New Issue
Block a user