diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2024-07-28 01:07:41 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2024-07-28 01:07:41 -0400 |
commit | 0ce09f72f4af26412356b9699d402b52dbcfc94f (patch) | |
tree | b01b94b1b80d1f3fc5aea559b3718024b79cfe91 /src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java | |
parent | d04c277edff957d14b6261dd38da43c18b7ba189 (diff) | |
download | NPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.tar.gz NPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.tar.bz2 NPEhero-0ce09f72f4af26412356b9699d402b52dbcfc94f.zip |
Finalize level API and new Json library
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java')
-rw-r--r-- | src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java b/src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java index b3ec751..c07d12f 100644 --- a/src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java +++ b/src/main/java/net/sowgro/npehero/editor/ErrorDisplay.java @@ -23,9 +23,11 @@ public class ErrorDisplay extends Page { public ErrorDisplay(String message, Page prev) { Label main = new Label(message); main.getStyleClass().add("box"); + main.setPadding(new Insets(10)); + main.setWrapText(true); Button exit = new Button(); - exit.setText("Back"); + exit.setText("Ok"); exit.setOnAction(e -> { Sound.playSfx(Sound.BACKWARD); Driver.setMenu(prev); @@ -50,6 +52,7 @@ public class ErrorDisplay extends Page { Label main = new Label(message); main.getStyleClass().add("box"); main.setPadding(new Insets(10)); + main.setWrapText(true); Button exit = new Button(); exit.setText("Cancel"); |