fmeditor-slint/ui/status_bar.slint

28 lines
697 B
Plaintext

import { Metrics, DarkPalette } from "theme.slint";
import { VerticalSeparator } from "widgets/separator.slint";
import { HorizontalBox } from "widgets/layout.slint";
export component StatusBar inherits HorizontalBox {
height: Metrics.size-lg;
j-rounding: Metrics.radius-md;
j-spacing: Metrics.spacing-lg;
Text {
color: DarkPalette.text[4];
font-size: Metrics.font-md;
vertical-alignment: center;
text: "Last saved: 18:50";
}
VerticalSeparator { }
Text {
color: DarkPalette.text[4];
font-size: Metrics.font-md;
vertical-alignment: center;
text: "Saved by: Jayrude";
}
VerticalSeparator { }
}