Random pack selector dialog has space to show all the sets, also made resizeable

This commit is contained in:
sprangg 2022-04-28 02:36:39 +03:00
parent 204de3fda5
commit a115d1c542
2 changed files with 7 additions and 7 deletions

View file

@ -9,9 +9,9 @@
<Value id="APPLICATION_EXCLUDE"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[600, 450]"/>
<Dimension value="[875, 475]"/>
</Property>
<Property name="resizable" type="boolean" value="false"/>
<Property name="resizable" type="boolean" value="true"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
@ -71,8 +71,8 @@
<Container class="java.awt.Panel" name="pnlPacks">
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
<Property name="columns" type="int" value="13"/>
<Property name="rows" type="int" value="12"/>
<Property name="columns" type="int" value="14"/>
<Property name="rows" type="int" value="14"/>
</Layout>
</Container>
<Container class="javax.swing.JPanel" name="pnlSelect">

View file

@ -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));