修复“下载线程数”的指示器被提示覆盖的问题 (#4153)

This commit is contained in:
辞庐 2025-07-31 15:05:23 +08:00 committed by GitHub
parent 9bcf95287a
commit 4f410fb8ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,6 +124,7 @@ public class DownloadSettingsPage extends StackPane {
{ {
HBox hbox = new HBox(8); HBox hbox = new HBox(8);
hbox.setStyle("-fx-view-order: -1;"); // prevent the indicator from being covered by the hint
hbox.setAlignment(Pos.CENTER); hbox.setAlignment(Pos.CENTER);
hbox.setPadding(new Insets(0, 0, 0, 30)); hbox.setPadding(new Insets(0, 0, 0, 30));
hbox.disableProperty().bind(config().autoDownloadThreadsProperty()); hbox.disableProperty().bind(config().autoDownloadThreadsProperty());