Fix #5014: 修复 GameCrashWindow 中 feedbackTextFlow 样式错误的问题 (#5020)

This commit is contained in:
Glavo
2025-12-20 16:00:42 +08:00
committed by GitHub
parent 84b428b57c
commit 3bf0eb2a16

View File

@@ -400,6 +400,8 @@ public class GameCrashWindow extends Stage {
reasonPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER);
reasonPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED);
feedbackTextFlow.getStyleClass().add("crash-reason-text-flow");
gameDirPane.setPadding(new Insets(8));
VBox.setVgrow(gameDirPane, Priority.ALWAYS);
FXUtils.onChangeAndOperate(feedbackTextFlow.visibleProperty(), visible -> {