[Bugfix] Fix #5421: 修复部分滚动页面滚动时圆角消失的问题 (#5463)

Fixes #5421
This commit is contained in:
Calboot authored and GitHub committed 2026-02-25 21:31:50 +08:00
1 parent e8f9f093f4
commit aaea473325
1 file changed
+2
@@ -281,6 +281,7 @@ public class DownloadPage extends Control implements DecoratorPage {
FXUtils.smoothScrolling(scrollPane);
scrollPane.setFitToWidth(true);
scrollPane.setFitToHeight(true);
FXUtils.setOverflowHidden(scrollPane, 8);
StackPane.setAlignment(scrollPane, Pos.TOP_CENTER);
spinnerPane.setContent(scrollPane);
@@ -486,6 +487,7 @@ public class DownloadPage extends Control implements DecoratorPage {
scrollPane.setFitToWidth(true);
scrollPane.setFitToHeight(true);
FXUtils.smoothScrolling(scrollPane);
FXUtils.setOverflowHidden(scrollPane, 8);
spinnerPane.setContent(scrollPane);
box.getChildren().add(spinnerPane);
VBox.setVgrow(spinnerPane, Priority.SOMETIMES);