Remove horrible padding of SplitPanes
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<RowConstraints fillHeight="false" maxHeight="-Infinity" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<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>
|
||||
<VBox fx:id="questBox" />
|
||||
</content>
|
||||
|
||||
@@ -13,6 +13,12 @@ Button.red:pressed {
|
||||
|
||||
ScrollPane {
|
||||
-fx-background-insets: 0;
|
||||
-fx-border-insets: 0;
|
||||
-fx-border-width: 0;
|
||||
}
|
||||
|
||||
SplitPane {
|
||||
-fx-padding: 0;
|
||||
}
|
||||
|
||||
ScalingImagePane {
|
||||
|
||||
Reference in New Issue
Block a user