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