From 6e26ef79a20e428ba41ac240aff7d389e21cbb40 Mon Sep 17 00:00:00 2001 From: OrzMiku Date: Fri, 16 Jan 2026 21:59:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=9E=E4=BE=8B?= =?UTF-8?q?=E5=88=97=E8=A1=A8=EF=BC=8C=E9=99=90=E5=88=B6=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E5=87=BA=E7=8E=B0=E6=B0=B4=E5=B9=B3=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: https://github.com/HMCL-dev/HMCL/issues/5240 --- .../main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java | 1 + 1 file changed, 1 insertion(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java index 28fa36979d..2fa798ea69 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java @@ -82,6 +82,7 @@ public void fire() { { HBox center = new HBox(); root.setCenter(center); + center.setPrefWidth(0); center.setSpacing(8); center.setAlignment(Pos.CENTER_LEFT); From 60fd72a190791e3b14b9bcd51bda1314b50012c0 Mon Sep 17 00:00:00 2001 From: Glavo Date: Mon, 19 Jan 2026 21:16:33 +0800 Subject: [PATCH 2/2] Update GameListCell.java --- .../main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java index 2fa798ea69..c1b088b9f1 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListCell.java @@ -82,7 +82,7 @@ public void fire() { { HBox center = new HBox(); root.setCenter(center); - center.setPrefWidth(0); + center.setPrefWidth(Region.USE_PREF_SIZE); center.setSpacing(8); center.setAlignment(Pos.CENTER_LEFT);