forked from External/mage
GUI: fixed cards disappear in stack area on some use cases like GUI resize (closes #8158)
This commit is contained in:
parent
103f75975c
commit
598aaa7632
1 changed files with 1 additions and 0 deletions
|
|
@ -390,6 +390,7 @@ public final class GamePanel extends javax.swing.JPanel {
|
|||
stackObjects.setPreferredSize(newDimension);
|
||||
stackObjects.setMinimumSize(newDimension);
|
||||
stackObjects.setMaximumSize(newDimension);
|
||||
stackObjects.changeGUISize(); // must call to cards fit
|
||||
|
||||
newDimension = new Dimension(newStackWidth, (int) pnlShortCuts.getPreferredSize().getHeight());
|
||||
pnlShortCuts.setPreferredSize(newDimension);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue