#header{ -fx-min-height: 40; -fx-max-height: 40; -fx-pref-height: 40; -fx-min-width: 1280; -fx-background-color: #3f51b5; -fx-border-width: 0 0 1 0; -fx-border-color: #3240a3; } #header_menu{ -fx-min-width: 40; -fx-max-width: 1280; } .header_menu_item{ -fx-scale-x: 0.5; -fx-scale-y: 0.5; }