Merge pull request #8888 from sprangg/RandomPackDialog

Random pack selector dialog has more space & is resizeable
This commit is contained in:
Oleg Agafonov 2022-04-28 13:15:27 +04:00 committed by GitHub
commit cf4bb4bdde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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));