scrollable button sidebar
This commit is contained in:
parent
4057fd6cae
commit
a54542b565
@ -31,6 +31,7 @@ import javafx.scene.text.Font;
|
|||||||
import javafx.scene.text.FontWeight;
|
import javafx.scene.text.FontWeight;
|
||||||
import javafx.stage.FileChooser;
|
import javafx.stage.FileChooser;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
import javafx.scene.control.ScrollPane;
|
||||||
|
|
||||||
import javax.imageio.ImageIO;
|
import javax.imageio.ImageIO;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@ -882,8 +883,12 @@ public class B3
|
|||||||
|
|
||||||
this.currentTab = addNewTab(null);
|
this.currentTab = addNewTab(null);
|
||||||
|
|
||||||
|
ScrollPane scrollPane = new ScrollPane();
|
||||||
|
scrollPane.setContent(this.buttonPane);
|
||||||
|
scrollPane.setFitToHeight(true);
|
||||||
|
|
||||||
this.borderPane = new BorderPane();
|
this.borderPane = new BorderPane();
|
||||||
this.borderPane.setLeft(this.buttonPane);
|
this.borderPane.setLeft(scrollPane);
|
||||||
this.borderPane.setCenter(this.tabPane);
|
this.borderPane.setCenter(this.tabPane);
|
||||||
this.borderPane.setRight(this.treeBorderPane);
|
this.borderPane.setRight(this.treeBorderPane);
|
||||||
this.borderPane.setBottom(this.statusInformation);
|
this.borderPane.setBottom(this.statusInformation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user