mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
Merge pull request #8888 from sprangg/RandomPackDialog
Random pack selector dialog has more space & is resizeable
This commit is contained in:
commit
cf4bb4bdde
2 changed files with 7 additions and 7 deletions
|
@ -9,9 +9,9 @@
|
||||||
<Value id="APPLICATION_EXCLUDE"/>
|
<Value id="APPLICATION_EXCLUDE"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[600, 450]"/>
|
<Dimension value="[875, 475]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="resizable" type="boolean" value="false"/>
|
<Property name="resizable" type="boolean" value="true"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<SyntheticProperties>
|
<SyntheticProperties>
|
||||||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
||||||
|
@ -71,8 +71,8 @@
|
||||||
<Container class="java.awt.Panel" name="pnlPacks">
|
<Container class="java.awt.Panel" name="pnlPacks">
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
|
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
|
||||||
<Property name="columns" type="int" value="13"/>
|
<Property name="columns" type="int" value="14"/>
|
||||||
<Property name="rows" type="int" value="12"/>
|
<Property name="rows" type="int" value="14"/>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Container>
|
</Container>
|
||||||
<Container class="javax.swing.JPanel" name="pnlSelect">
|
<Container class="javax.swing.JPanel" name="pnlSelect">
|
||||||
|
|
|
@ -116,15 +116,15 @@ public class RandomPacksSelectorDialog extends javax.swing.JDialog {
|
||||||
setTitle("Random Booster Draft Packs Selector");
|
setTitle("Random Booster Draft Packs Selector");
|
||||||
setModal(true);
|
setModal(true);
|
||||||
setModalExclusionType(java.awt.Dialog.ModalExclusionType.APPLICATION_EXCLUDE);
|
setModalExclusionType(java.awt.Dialog.ModalExclusionType.APPLICATION_EXCLUDE);
|
||||||
setPreferredSize(new java.awt.Dimension(600, 450));
|
setPreferredSize(new java.awt.Dimension(875, 475));
|
||||||
setResizable(false);
|
setResizable(true);
|
||||||
addWindowListener(new java.awt.event.WindowAdapter() {
|
addWindowListener(new java.awt.event.WindowAdapter() {
|
||||||
public void windowClosing(java.awt.event.WindowEvent evt) {
|
public void windowClosing(java.awt.event.WindowEvent evt) {
|
||||||
formWindowClosing(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));
|
pnlSelect.setLayout(new javax.swing.BoxLayout(pnlSelect, javax.swing.BoxLayout.LINE_AXIS));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue