mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
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:
parent
ffd0404089
commit
31585f73b1
2 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
<SubComponents>
|
||||
<Container class="javax.swing.JSplitPane" name="jSplitPane1">
|
||||
<Properties>
|
||||
<Property name="orientation" type="int" value="0"/>
|
||||
<Property name="resizeWeight" type="double" value="0.8"/>
|
||||
</Properties>
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ public class DeckArea extends javax.swing.JPanel {
|
|||
deckList = new mage.client.cards.CardsList();
|
||||
sideboardList = new mage.client.cards.CardsList();
|
||||
|
||||
jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
|
||||
jSplitPane1.setResizeWeight(0.8);
|
||||
jSplitPane1.setLeftComponent(deckList);
|
||||
jSplitPane1.setRightComponent(sideboardList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue