Remove horrible padding of SplitPanes

This commit is contained in:
2020-07-10 17:15:33 +02:00
parent dd76ae1f04
commit f436d26f28
2 changed files with 7 additions and 1 deletions

View File

@@ -53,7 +53,7 @@
<RowConstraints fillHeight="false" maxHeight="-Infinity" vgrow="SOMETIMES" /> <RowConstraints fillHeight="false" maxHeight="-Infinity" vgrow="SOMETIMES" />
</rowConstraints> </rowConstraints>
<children> <children>
<ScrollPane id="quest-pane" fitToWidth="true" hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2"> <ScrollPane id="quest-pane" fitToWidth="true" hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" styleClass="border" GridPane.rowIndex="2">
<content> <content>
<VBox fx:id="questBox" /> <VBox fx:id="questBox" />
</content> </content>

View File

@@ -13,6 +13,12 @@ Button.red:pressed {
ScrollPane { ScrollPane {
-fx-background-insets: 0; -fx-background-insets: 0;
-fx-border-insets: 0;
-fx-border-width: 0;
}
SplitPane {
-fx-padding: 0;
} }
ScalingImagePane { ScalingImagePane {