java - Edit MenuBar with Css in JavaFx -
thanks reading. have trying edit menu-bar css menu item don't changed.
i realized parts of menu-bar are: menubar, menu, menu-items last 1 don't work rightly.
.menu-bar{ -fx-background-color: peru; -fx-border-color: #f0cd90; -fx-border-width: 2 } .menu-bar .label { -fx-font-size: 25 pt; -fx-font-family: "segoe ui light"; -fx-text-fill: #dedede; } .menu:hover { -fx-background-color: #bc784e; } .menu-item .label{ -fx-font-size: 25 pt; -fx-label-line-length: 8; -fx-background-color: #cc66ff; } i'm using scene builder.
Comments
Post a Comment