From 064b39d753aa2e1647d141a34cb770d527ddfdf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=9E=E5=BA=90?= <109708109+CiiLu@users.noreply.github.com> Date: Sun, 6 Jul 2025 15:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E6=96=87=E4=BB=B6=E5=A4=B9=E9=A1=B5=E9=9D=A2=E7=BC=BA?= =?UTF-8?q?=E5=B0=91=E7=81=B0=E8=89=B2=E8=83=8C=E6=99=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#4065)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/jackhuang/hmcl/ui/profile/ProfilePage.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/profile/ProfilePage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/profile/ProfilePage.java index 962c71467..71f27f099 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/profile/ProfilePage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/profile/ProfilePage.java @@ -61,6 +61,8 @@ public final class ProfilePage extends BorderPane implements DecoratorPage { * @param profile null if creating a new profile. */ public ProfilePage(Profile profile) { + getStyleClass().add("gray-background"); + this.profile = profile; String profileDisplayName = Optional.ofNullable(profile).map(Profiles::getProfileDisplayName).orElse("");