Fix #3896: 下载界面对于多行信息显示错误 (#3901)

This commit is contained in:
e74yp8 2025-05-18 23:11:34 +08:00 committed by GitHub
parent c576c48f9d
commit f986df9654
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,6 +212,7 @@ public class DownloadPage extends Control implements DecoratorPage {
scrollPane.setFitToHeight(true);
HBox descriptionPane = new HBox(8);
descriptionPane.setMinHeight(Region.USE_PREF_SIZE);
descriptionPane.setAlignment(Pos.CENTER);
pane.getChildren().add(descriptionPane);
descriptionPane.getStyleClass().add("card-non-transparent");