修复对话框标题和按钮未使用自定义字体的问题 (#3324)

This commit is contained in:
Glavo 2024-10-13 20:39:55 +08:00 committed by GitHub
parent 1c05cd981f
commit 17c1998119
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -431,7 +431,6 @@
.jfx-layout-heading { .jfx-layout-heading {
-fx-font-size: 20.0px; -fx-font-size: 20.0px;
-fx-font-family: -fx-base-font-family;
-fx-alignment: center-left; -fx-alignment: center-left;
-fx-padding: 5.0 0.0 5.0 0.0; -fx-padding: 5.0 0.0 5.0 0.0;
} }
@ -449,18 +448,15 @@
.dialog-error { .dialog-error {
-fx-text-fill: #d32f2f; -fx-text-fill: #d32f2f;
-fx-font-family: -fx-base-font-family;
-fx-padding: 0.7em 0.8em; -fx-padding: 0.7em 0.8em;
} }
.dialog-accept { .dialog-accept {
-fx-text-fill: #03A9F4; -fx-text-fill: #03A9F4;
-fx-font-family: -fx-base-font-family;
-fx-padding: 0.7em 0.8em; -fx-padding: 0.7em 0.8em;
} }
.dialog-cancel { .dialog-cancel {
-fx-font-family: -fx-base-font-family;
-fx-padding: 0.7em 0.8em; -fx-padding: 0.7em 0.8em;
} }