forked from External/mage
New Preferences dialog. Option for big card images in hand. Fixed Issue 80. Fixed Issue 165.
This commit is contained in:
parent
67c1fc8ffa
commit
51e3e238af
9 changed files with 878 additions and 601 deletions
|
|
@ -152,7 +152,7 @@ public class Cards extends javax.swing.JPanel {
|
|||
if (!isVisibleIfEmpty) {
|
||||
cardArea.setVisible(cards.size() > 0);
|
||||
}
|
||||
cardArea.setPreferredSize(new Dimension(cards.size() * (Config.dimensions.frameWidth + GAP_X), Config.dimensions.frameHeight));
|
||||
cardArea.setPreferredSize(new Dimension((int)(cards.size() * (getCardDimension().getWidth() + GAP_X)), (int)(getCardDimension().getHeight())));
|
||||
cardArea.revalidate();
|
||||
cardArea.repaint();
|
||||
this.revalidate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue