mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
make the bug reporter dialog width dependent on the number of buttons
This commit is contained in:
@@ -227,7 +227,7 @@ public class BugReporter {
|
||||
JOptionPane pane = new JOptionPane(p, JOptionPane.PLAIN_MESSAGE,
|
||||
JOptionPane.DEFAULT_OPTION, null, options.toArray(), options.get(0));
|
||||
JDialog dlg = pane.createDialog(null, title);
|
||||
dlg.setSize(780, 500);
|
||||
dlg.setSize(showExitAppBtn ? 780 : 600, 400);
|
||||
dlg.setResizable(true);
|
||||
dlg.setLocationRelativeTo(null);
|
||||
dlg.setVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user