Skip to content

Commit 5a518ce

Browse files
authored
fix: 修复版本设置页面滚动条总是显示的问题 (#5379)
Fix 5377
1 parent 0adf4fc commit 5a518ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/VersionSettingsPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public VersionSettingsPage(boolean globalSetting) {
114114
ScrollPane scrollPane = new ScrollPane();
115115
scrollPane.setFitToHeight(true);
116116
scrollPane.setFitToWidth(true);
117-
scrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.ALWAYS);
117+
scrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED);
118118
getChildren().setAll(scrollPane);
119119

120120
rootPane = new VBox();

0 commit comments

Comments
 (0)