fix(ui): incorrect padding.

This commit is contained in:
huanghongxun
2021-10-10 22:24:09 +08:00
parent 7d5a73828d
commit 86734d2f5f

View File

@@ -12,13 +12,11 @@
type="BorderPane"
prefHeight="400.0" prefWidth="600.0">
<top>
<VBox>
<HintPane style="-fx-padding: 10 10 0 10;" onMouseClicked="#onSponsor" text="%sponsor.bmclapi" styleClass="sponsor-pane">
<VBox.margin>
<Insets top="10" right="10" left="10" />
</VBox.margin>
</HintPane>
</VBox>
<HintPane onMouseClicked="#onSponsor" text="%sponsor.bmclapi" styleClass="sponsor-pane">
<BorderPane.margin>
<Insets top="10" right="10" left="10" />
</BorderPane.margin>
</HintPane>
</top>
<center>
<TransitionPane fx:id="root">