diff --git a/at/fos/ermodel/gui/B3.java b/at/fos/ermodel/gui/B3.java index 73916e0..bcfd55b 100644 --- a/at/fos/ermodel/gui/B3.java +++ b/at/fos/ermodel/gui/B3.java @@ -31,6 +31,7 @@ import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javafx.stage.FileChooser; import javafx.stage.Stage; +import javafx.scene.control.ScrollPane; import javax.imageio.ImageIO; import java.awt.*; @@ -882,8 +883,12 @@ public class B3 this.currentTab = addNewTab(null); + ScrollPane scrollPane = new ScrollPane(); + scrollPane.setContent(this.buttonPane); + scrollPane.setFitToHeight(true); + this.borderPane = new BorderPane(); - this.borderPane.setLeft(this.buttonPane); + this.borderPane.setLeft(scrollPane); this.borderPane.setCenter(this.tabPane); this.borderPane.setRight(this.treeBorderPane); this.borderPane.setBottom(this.statusInformation);