在“回退”(切换版本)按钮不可见时释放其空间 (#7199)
This commit is contained in:
1 parent
09ccf73285
commit
7cf696e2a0
1 file changed
+3
@@ -763,6 +763,9 @@ public final class ModListPage extends ListPageBase<ModListPage.ModInfoObject> i
|
||||
|
||||
FXUtils.installFastTooltip(restoreButton, i18n("mods.restore"));
|
||||
|
||||
// free up space when not visible
|
||||
restoreButton.managedProperty().bind(restoreButton.visibleProperty());
|
||||
|
||||
HBox actions = new HBox();
|
||||
actions.setAlignment(Pos.CENTER);
|
||||
actions.getChildren().setAll(restoreButton, revealButton, infoButton, activeSwitch);
|
||||
|
||||
Reference in new issue
Block a user