Merge pull request #70 from informatik-ag-ngl/b/settingsButtons

Revised Cancel and Save Buttons
This commit is contained in:
DieGurke 2019-12-21 18:26:45 +01:00 committed by GitHub
commit d6e45af030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,10 +118,10 @@ public class SettingsScreen extends JDialog {
// ButtonPane
GridBagLayout gbl_buttonPane = new GridBagLayout();
gbl_buttonPane.columnWidths = new int[] { 100, 250, 100, 0 };
gbl_buttonPane.rowHeights = new int[] { 25, 0 };
gbl_buttonPane.columnWeights = new double[] { 0.0, 0.0, 0.0, Double.MIN_VALUE };
gbl_buttonPane.rowWeights = new double[] { 0.0, Double.MIN_VALUE };
gbl_buttonPane.columnWidths = new int[] { 1, 1};
gbl_buttonPane.rowHeights = new int[] { 25};
gbl_buttonPane.columnWeights = new double[] { 1.0, 1.0};
gbl_buttonPane.rowWeights = new double[] { 0.0};
getContentPane().add(buttonPane, BorderLayout.SOUTH);
buttonPane.setLayout(gbl_buttonPane);