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" type="BorderPane"
prefHeight="400.0" prefWidth="600.0"> prefHeight="400.0" prefWidth="600.0">
<top> <top>
<VBox> <HintPane onMouseClicked="#onSponsor" text="%sponsor.bmclapi" styleClass="sponsor-pane">
<HintPane style="-fx-padding: 10 10 0 10;" onMouseClicked="#onSponsor" text="%sponsor.bmclapi" styleClass="sponsor-pane"> <BorderPane.margin>
<VBox.margin> <Insets top="10" right="10" left="10" />
<Insets top="10" right="10" left="10" /> </BorderPane.margin>
</VBox.margin> </HintPane>
</HintPane>
</VBox>
</top> </top>
<center> <center>
<TransitionPane fx:id="root"> <TransitionPane fx:id="root">