From d685d397573c43194fede9b2bbd3aee76d2cd9f8 Mon Sep 17 00:00:00 2001 From: sowgro Date: Mon, 2 Sep 2024 02:30:39 -0400 Subject: Redesign editors --- src/main/java/net/sowgro/npehero/editor/NotesEditor2.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/net/sowgro/npehero/editor/NotesEditor2.java') diff --git a/src/main/java/net/sowgro/npehero/editor/NotesEditor2.java b/src/main/java/net/sowgro/npehero/editor/NotesEditor2.java index 5ba7d88..6c45865 100644 --- a/src/main/java/net/sowgro/npehero/editor/NotesEditor2.java +++ b/src/main/java/net/sowgro/npehero/editor/NotesEditor2.java @@ -165,8 +165,12 @@ public class NotesEditor2 extends Page { Pane helpBox = new Pane(); + ScrollPane actionScroll = new ScrollPane(actionBox); + actionScroll.getStyleClass().remove("scroll-pane"); + actionScroll.prefWidthProperty().bind(actionBox.widthProperty().add(20)); + HBox main = new HBox(); - main.getChildren().addAll(scroll, actionBox, helpBox); + main.getChildren().addAll(scroll, actionScroll, helpBox); main.setSpacing(10); Button exit = new Button(); -- cgit v1.2.3