Fix menu bar: height 21px, color #d4d0c8, 4 menus (File Controller Tools Help)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
//! RAIDGuard X GUI Client - Main entry point
|
||||
|
||||
use slint::ComponentHandle;
|
||||
use slint::SharedString;
|
||||
use slint::{ComponentHandle, SharedString};
|
||||
|
||||
slint::include_modules!();
|
||||
|
||||
|
||||
@@ -100,30 +100,31 @@ export component AppWindow inherits Window {
|
||||
VerticalLayout {
|
||||
spacing: 0;
|
||||
|
||||
// Menu Bar - matches Java Swing menu
|
||||
// Menu Bar - matches Java Swing JMenuBar (height 21)
|
||||
Rectangle {
|
||||
height: 21px;
|
||||
background: #ece9d8;
|
||||
background: #d4d0c8;
|
||||
HorizontalLayout {
|
||||
spacing: 0;
|
||||
padding: 2px;
|
||||
spacing: 4px;
|
||||
Text {
|
||||
text: "File";
|
||||
font_size: 12px;
|
||||
color: #000000;
|
||||
}
|
||||
Text { width: 12px; }
|
||||
Text { width: 16px; }
|
||||
Text {
|
||||
text: "Controller";
|
||||
font_size: 12px;
|
||||
color: #000000;
|
||||
}
|
||||
Text { width: 12px; }
|
||||
Text { width: 16px; }
|
||||
Text {
|
||||
text: "Tools";
|
||||
font_size: 12px;
|
||||
color: #000000;
|
||||
}
|
||||
Text { width: 12px; }
|
||||
Text { width: 16px; }
|
||||
Text {
|
||||
text: "Help";
|
||||
font_size: 12px;
|
||||
@@ -135,7 +136,7 @@ export component AppWindow inherits Window {
|
||||
// Toolbar - matches Java JToolBar (750x65)
|
||||
Rectangle {
|
||||
height: 65px;
|
||||
background: #ece9d8;
|
||||
background: #d4d0c8;
|
||||
HorizontalLayout {
|
||||
spacing: 2px;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user