diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/AccountPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/AccountPage.java index 482dc5ef4..16052ebee 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/AccountPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/AccountPage.java @@ -85,15 +85,11 @@ public class AccountPage extends StackPane implements DecoratorPage { AuthlibInjectorServer server = ((AuthlibInjectorAccount) account).getServer(); lblServer.setText(server.getName()); installTooltip(lblServer, server.getUrl()); - FXUtils.setLimitHeight(this, 182); } else { componentList.removeChildren(paneServer); if (account instanceof OfflineAccount) { componentList.removeChildren(paneEmail); - FXUtils.setLimitHeight(this, 110); - } else { - FXUtils.setLimitHeight(this, 145); } } diff --git a/HMCL/src/main/resources/assets/fxml/account.fxml b/HMCL/src/main/resources/assets/fxml/account.fxml index acf7202df..392473a58 100644 --- a/HMCL/src/main/resources/assets/fxml/account.fxml +++ b/HMCL/src/main/resources/assets/fxml/account.fxml @@ -77,19 +77,18 @@ - + + + + + + + + - - - - - - - -