diff options
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/NotesEditor2.java')
-rw-r--r-- | src/main/java/net/sowgro/npehero/editor/NotesEditor2.java | 6 |
1 files changed, 5 insertions, 1 deletions
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(); |