From 7cf696e2a0dae155a5382116550a4fd1075ea498 Mon Sep 17 00:00:00 2001 From: ZZZank <47418975+ZZZank@users.noreply.github.com> Date: Fri, 6 Nov 2026 20:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E2=80=9C=E5=9B=9E=E9=80=80=E2=80=9D?= =?UTF-8?q?=EF=BC=88=E5=88=87=E6=8D=A2=E7=89=88=E6=9C=AC=EF=BC=89=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=B8=8D=E5=8F=AF=E8=A7=81=E6=97=B6=E9=87=8A=E6=94=BE?= =?UTF-8?q?=E5=85=B6=E7=A9=BA=E9=97=B4=20(#7199)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/jackhuang/hmcl/ui/instances/ModListPage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/ModListPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/ModListPage.java index 7275091389..02b3cde88e 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/ModListPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/ModListPage.java @@ -763,6 +763,9 @@ public final class ModListPage extends ListPageBase 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);