Larger grid

This commit is contained in:
Yohann D'ANELLO 2020-04-27 17:54:40 +02:00
parent 500132a816
commit 3e504310a9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class EditorFrame(val map: GMap) extends JFrame("Level Editor") with ChangeListe
final private[editor] val group = new ButtonGroup
private var selectedSprite = null: SpriteComp
this.setSize(600, 600)
this.setSize(1000, 1000)
this.setPreferredSize(getSize)
this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE)
this.setExtendedState(Frame.MAXIMIZED_BOTH)

View File

@ -33,7 +33,7 @@ class GameFrame(val map: RawMap) extends JFrame("Jeu") {
final private var rewardLabel = null: JLabel
final private var winLabel = null: JLabel
this.setSize(600, 600)
this.setSize(1000, 1000)
this.setPreferredSize(getSize)
this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE)
this.setExtendedState(Frame.MAXIMIZED_BOTH)