Remove horrible padding of SplitPanes
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user