mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* Table waiting dialog - changed default window size and divider position.
This commit is contained in:
parent
b273074e2f
commit
fcce47fd28
2 changed files with 8 additions and 9 deletions
|
|
@ -28,19 +28,19 @@
|
||||||
<Component id="btnMoveDown" min="-2" max="-2" attributes="0"/>
|
<Component id="btnMoveDown" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="btnMoveUp" min="-2" max="-2" attributes="0"/>
|
<Component id="btnMoveUp" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace pref="232" max="32767" attributes="0"/>
|
<EmptySpace pref="326" max="32767" attributes="0"/>
|
||||||
<Component id="btnStart" min="-2" max="-2" attributes="0"/>
|
<Component id="btnStart" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="btnCancel" min="-2" max="-2" attributes="0"/>
|
<Component id="btnCancel" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Component id="jSplitPane1" alignment="0" pref="550" max="32767" attributes="0"/>
|
<Component id="jSplitPane1" alignment="0" pref="644" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Component id="jSplitPane1" pref="283" max="32767" attributes="0"/>
|
<Component id="jSplitPane1" pref="226" max="32767" attributes="0"/>
|
||||||
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="3" attributes="0">
|
||||||
<Component id="btnMoveDown" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="btnMoveDown" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
</Component>
|
</Component>
|
||||||
<Container class="javax.swing.JSplitPane" name="jSplitPane1">
|
<Container class="javax.swing.JSplitPane" name="jSplitPane1">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="dividerLocation" type="int" value="450"/>
|
<Property name="dividerLocation" type="int" value="320"/>
|
||||||
<Property name="dividerSize" type="int" value="3"/>
|
<Property name="dividerSize" type="int" value="3"/>
|
||||||
<Property name="resizeWeight" type="double" value="1.0"/>
|
<Property name="resizeWeight" type="double" value="1.0"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,6 @@ public class TableWaitingDialog extends MageDialog {
|
||||||
tableSeats = new javax.swing.JTable();
|
tableSeats = new javax.swing.JTable();
|
||||||
chatPanel = new mage.client.chat.ChatPanel(false);
|
chatPanel = new mage.client.chat.ChatPanel(false);
|
||||||
|
|
||||||
setClosable(false);
|
|
||||||
setResizable(true);
|
setResizable(true);
|
||||||
setTitle("Waiting for players");
|
setTitle("Waiting for players");
|
||||||
|
|
||||||
|
|
@ -201,7 +200,7 @@ public class TableWaitingDialog extends MageDialog {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
jSplitPane1.setDividerLocation(450);
|
jSplitPane1.setDividerLocation(320);
|
||||||
jSplitPane1.setDividerSize(3);
|
jSplitPane1.setDividerSize(3);
|
||||||
jSplitPane1.setResizeWeight(1.0);
|
jSplitPane1.setResizeWeight(1.0);
|
||||||
|
|
||||||
|
|
@ -221,17 +220,17 @@ public class TableWaitingDialog extends MageDialog {
|
||||||
.addComponent(btnMoveDown)
|
.addComponent(btnMoveDown)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(btnMoveUp)
|
.addComponent(btnMoveUp)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 232, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 326, Short.MAX_VALUE)
|
||||||
.addComponent(btnStart)
|
.addComponent(btnStart)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(btnCancel)
|
.addComponent(btnCancel)
|
||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
.addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 550, Short.MAX_VALUE)
|
.addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 644, Short.MAX_VALUE)
|
||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 267, Short.MAX_VALUE)
|
.addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 226, Short.MAX_VALUE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
.addComponent(btnMoveDown)
|
.addComponent(btnMoveDown)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue