chore(ui): title gray background.

This commit is contained in:
huanghongxun
2021-10-09 20:44:19 +08:00
parent c32a14a959
commit 60865163db
2 changed files with 6 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
container.backgroundProperty().unbind();
container.setBackground(null);
titleContainer.getStyleClass().remove("background");
titleContainer.getStyleClass().add("gray-background");
container.getChildren().remove(drawerPane);
wrapper.getChildren().add(0, drawerPane);
} else {
@@ -165,6 +166,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
wrapper.backgroundProperty().unbind();
wrapper.setBackground(null);
titleContainer.getStyleClass().add("background");
titleContainer.getStyleClass().remove("gray-background");
wrapper.getChildren().remove(drawerPane);
container.getChildren().add(0, drawerPane);
}

View File

@@ -522,6 +522,10 @@
-fx-text-fill: WHITE;
}
.jfx-tool-bar.gray-background Label {
-fx-text-fill: BLACK;
}
.jfx-tool-bar .jfx-options-burger {
-fx-padding: 22px;
}