当钱标签(进入钱箱)不超过 5 位数字时,一切都很好,但是当钱增加时,设计就会变得混乱。我该如何解决?
StackPane bottom = new StackPane();
VBox vboxBottom = new VBox();
HBox hboxBottomElements = new HBox(15);
HBox hboxBottomMain = new HBox(0);
hboxBottomElements.getChildren().addAll(visaLabel, separator2, adLabel, separator3, governRelationStatus, separator4, christianityLabel);
hboxBottomElements.setPadding(new Insets(5));
vboxBottom.getChildren().addAll(season, separator1, hboxBottomElements);
vboxBottom.setPadding(new Insets(30,0,0,0));
bottom.getChildren().addAll(vboxBottom, next);
StackPane.setAlignment(next, Pos.BOTTOM_RIGHT);
StackPane.setMargin(next, new Insets(0,0,0,999));
hboxBottomMain.getChildren().addAll(moneyBox, bottom);
layout.setBottom(hboxBottomMain);