From 3e504310a9fc9ce15d548ce514ad2367e5f4c9e9 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 27 Apr 2020 17:54:40 +0200 Subject: [PATCH] Larger grid --- src/main/scala/fr/ynerant/leveleditor/editor/EditorFrame.scala | 2 +- src/main/scala/fr/ynerant/leveleditor/game/GameFrame.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/fr/ynerant/leveleditor/editor/EditorFrame.scala b/src/main/scala/fr/ynerant/leveleditor/editor/EditorFrame.scala index a7fa70d..fa7afa2 100644 --- a/src/main/scala/fr/ynerant/leveleditor/editor/EditorFrame.scala +++ b/src/main/scala/fr/ynerant/leveleditor/editor/EditorFrame.scala @@ -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) diff --git a/src/main/scala/fr/ynerant/leveleditor/game/GameFrame.scala b/src/main/scala/fr/ynerant/leveleditor/game/GameFrame.scala index b445247..60f0328 100644 --- a/src/main/scala/fr/ynerant/leveleditor/game/GameFrame.scala +++ b/src/main/scala/fr/ynerant/leveleditor/game/GameFrame.scala @@ -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)