fix: UI adjustments for import dialog

This commit is contained in:
lantzelot-swe 2021-04-05 23:00:23 +02:00
parent 9f1f337f80
commit e46308da94
2 changed files with 4 additions and 4 deletions

View File

@ -20,12 +20,12 @@ public class ImportOptionsDialog extends BaseDialog
if (isCarouselImport)
{
setTitle("Import carousel folder");
this.setPreferredSize(new Dimension(450,320));
this.setPreferredSize(new Dimension(450,300));
}
else
{
setTitle("Import games from Gamebase");
this.setPreferredSize(new Dimension(450,520));
this.setPreferredSize(new Dimension(450,500));
}
addContent(getImportOptionsPanel());
getOkButton().setText("Import");

View File

@ -252,7 +252,7 @@ public class ImportOptionsPanel extends JPanel
gbc_skipRadioButton.gridwidth = 2;
gbc_skipRadioButton.anchor = GridBagConstraints.WEST;
gbc_skipRadioButton.weightx = 1.0;
gbc_skipRadioButton.insets = new Insets(0, 5, 5, 0);
gbc_skipRadioButton.insets = new Insets(0, 5, 0, 0);
gbc_skipRadioButton.gridx = 0;
gbc_skipRadioButton.gridy = 0;
selectionPanel.add(getSkipRadioButton(), gbc_skipRadioButton);
@ -260,7 +260,7 @@ public class ImportOptionsPanel extends JPanel
gbc_overwriteRadioButton.gridwidth = 2;
gbc_overwriteRadioButton.anchor = GridBagConstraints.WEST;
gbc_overwriteRadioButton.weightx = 1.0;
gbc_overwriteRadioButton.insets = new Insets(0, 5, 5, 0);
gbc_overwriteRadioButton.insets = new Insets(0, 5, 0, 0);
gbc_overwriteRadioButton.gridx = 0;
gbc_overwriteRadioButton.gridy = 1;
selectionPanel.add(getOverwriteRadioButton(), gbc_overwriteRadioButton);