Fixed CPU Window size
This commit is contained in:
parent
c20aefdc5a
commit
2cc9ed829e
@ -209,7 +209,9 @@ public class SwingWindow extends JFrame {
|
||||
|
||||
@Override
|
||||
public void setSize(int width, int height) {
|
||||
c.setSize(width*mult, height*mult);
|
||||
c.setSize(new Dimension(width*mult, height*mult));
|
||||
c.setPreferredSize(new Dimension(width*mult, height*mult));
|
||||
super.getContentPane().setSize(new Dimension(width*mult, height*mult));
|
||||
super.getContentPane().setPreferredSize(new Dimension(width*mult, height*mult));
|
||||
super.pack();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user