修复默认窗口大小 进入高级版本设置会向下滚动一段距离的问题 (#5197)

This commit is contained in:
辞庐
2026-01-11 21:14:52 +08:00
committed by GitHub
parent 9ea419c05b
commit 72e3925696

View File

@@ -73,6 +73,7 @@ public final class AdvancedVersionSettingPage extends StackPane implements Decor
getChildren().setAll(scrollPane); getChildren().setAll(scrollPane);
VBox rootPane = new VBox(); VBox rootPane = new VBox();
rootPane.setFocusTraversable(true);
rootPane.setFillWidth(true); rootPane.setFillWidth(true);
scrollPane.setContent(rootPane); scrollPane.setContent(rootPane);
FXUtils.smoothScrolling(scrollPane); FXUtils.smoothScrolling(scrollPane);