Prevent horizontal scroll bar in settings page
This commit is contained in:
@@ -62,13 +62,12 @@ public abstract class SettingsView extends StackPane {
|
|||||||
public SettingsView() {
|
public SettingsView() {
|
||||||
scroll = new ScrollPane();
|
scroll = new ScrollPane();
|
||||||
getChildren().setAll(scroll);
|
getChildren().setAll(scroll);
|
||||||
scroll.setStyle("-fx-font-size: 14; -fx-pref-width: 100%;");
|
scroll.setStyle("-fx-font-size: 14;");
|
||||||
scroll.setFitToHeight(true);
|
|
||||||
scroll.setFitToWidth(true);
|
scroll.setFitToWidth(true);
|
||||||
|
|
||||||
{
|
{
|
||||||
VBox rootPane = new VBox();
|
VBox rootPane = new VBox();
|
||||||
rootPane.setStyle("-fx-padding: 20;");
|
rootPane.setStyle("-fx-padding: 18;");
|
||||||
{
|
{
|
||||||
ComponentList settingsPane = new ComponentList();
|
ComponentList settingsPane = new ComponentList();
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user