Deck Editor: moved sideboard to bottom of deckarea (because of problems with horizontal scrolling for jlayeredpane inside jscrollpane I couldn't manage (it's known problem for Swing)).

This commit is contained in:
magenoxx 2011-05-19 08:58:59 +04:00
parent ffd0404089
commit 31585f73b1
2 changed files with 2 additions and 0 deletions

View file

@ -28,6 +28,7 @@
<SubComponents> <SubComponents>
<Container class="javax.swing.JSplitPane" name="jSplitPane1"> <Container class="javax.swing.JSplitPane" name="jSplitPane1">
<Properties> <Properties>
<Property name="orientation" type="int" value="0"/>
<Property name="resizeWeight" type="double" value="0.8"/> <Property name="resizeWeight" type="double" value="0.8"/>
</Properties> </Properties>

View file

@ -96,6 +96,7 @@ public class DeckArea extends javax.swing.JPanel {
deckList = new mage.client.cards.CardsList(); deckList = new mage.client.cards.CardsList();
sideboardList = new mage.client.cards.CardsList(); sideboardList = new mage.client.cards.CardsList();
jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
jSplitPane1.setResizeWeight(0.8); jSplitPane1.setResizeWeight(0.8);
jSplitPane1.setLeftComponent(deckList); jSplitPane1.setLeftComponent(deckList);
jSplitPane1.setRightComponent(sideboardList); jSplitPane1.setRightComponent(sideboardList);