Put settings tab into ScrollPane
... to support small screens
This commit is contained in:
parent
43793f3728
commit
b73627c0fb
|
@ -28,6 +28,7 @@ import javafx.scene.control.CheckBox;
|
|||
import javafx.scene.control.ComboBox;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.RadioButton;
|
||||
import javafx.scene.control.ScrollPane;
|
||||
import javafx.scene.control.Tab;
|
||||
import javafx.scene.control.TextField;
|
||||
import javafx.scene.control.TextInputDialog;
|
||||
|
@ -89,7 +90,7 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
ColumnConstraints cc = new ColumnConstraints();
|
||||
cc.setPercentWidth(50);
|
||||
mainLayout.getColumnConstraints().setAll(cc, cc);
|
||||
setContent(mainLayout);
|
||||
setContent(new ScrollPane(mainLayout));
|
||||
VBox leftSide = new VBox(15);
|
||||
VBox rightSide = new VBox(15);
|
||||
GridPane.setHgrow(leftSide, Priority.ALWAYS);
|
||||
|
|
Loading…
Reference in New Issue