From a115d1c542ff86c9a76b9e4ef11cf45296bfc763 Mon Sep 17 00:00:00 2001 From: sprangg Date: Thu, 28 Apr 2022 02:36:39 +0300 Subject: [PATCH] Random pack selector dialog has space to show all the sets, also made resizeable --- .../mage/client/dialog/RandomPacksSelectorDialog.form | 8 ++++---- .../mage/client/dialog/RandomPacksSelectorDialog.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.form b/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.form index 7c59eafa7c..b033f0a9bf 100644 --- a/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.form +++ b/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.form @@ -9,9 +9,9 @@ - + - + @@ -71,8 +71,8 @@ - - + + diff --git a/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.java b/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.java index 2102682b5a..2f90a66837 100644 --- a/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.java +++ b/Mage.Client/src/main/java/mage/client/dialog/RandomPacksSelectorDialog.java @@ -116,15 +116,15 @@ public class RandomPacksSelectorDialog extends javax.swing.JDialog { setTitle("Random Booster Draft Packs Selector"); setModal(true); setModalExclusionType(java.awt.Dialog.ModalExclusionType.APPLICATION_EXCLUDE); - setPreferredSize(new java.awt.Dimension(600, 450)); - setResizable(false); + setPreferredSize(new java.awt.Dimension(875, 475)); + setResizable(true); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { formWindowClosing(evt); } }); - pnlPacks.setLayout(new java.awt.GridLayout(12, 13)); + pnlPacks.setLayout(new java.awt.GridLayout(14, 14)); pnlSelect.setLayout(new javax.swing.BoxLayout(pnlSelect, javax.swing.BoxLayout.LINE_AXIS));