1
0
Fork 0

hotfix: no window size. why?

This commit is contained in:
Ruben Meyer 2019-11-19 03:04:18 +01:00
parent 2234eefc5d
commit c9a88e7946
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
package break_out.view;
import java.awt.CardLayout;
import java.awt.*;
import javax.swing.JFrame;
@ -70,6 +70,9 @@ public class View extends JFrame {
setResizable(false);
setVisible(true);
pack();
// hotfix: screen size
setMinimumSize(new Dimension((int) Constants.SCREEN_WIDTH, (int) Constants.SCREEN_HEIGHT));
}
/**