2024-04-10 10:34:47 +00:00
|
|
|
import { Metrics } from "theme.slint";
|
2024-04-09 19:52:34 +00:00
|
|
|
import { VerticalSeparator } from "widgets/separator.slint";
|
2024-04-09 19:47:10 +00:00
|
|
|
|
|
|
|
export component StatusBar inherits Rectangle {
|
|
|
|
border-color: black;
|
|
|
|
border-width: 1px;
|
2024-04-10 10:34:47 +00:00
|
|
|
height: Metrics.size-lg;
|
2024-04-09 19:47:10 +00:00
|
|
|
HorizontalLayout {
|
|
|
|
alignment: start;
|
2024-04-10 10:34:47 +00:00
|
|
|
padding-left: Metrics.padding-lg;
|
|
|
|
padding-right: Metrics.padding-lg;
|
|
|
|
spacing: Metrics.padding-lg;
|
2024-04-09 19:47:10 +00:00
|
|
|
Text {
|
2024-04-10 10:34:47 +00:00
|
|
|
font-size: Metrics.font-md;
|
2024-04-09 19:47:10 +00:00
|
|
|
vertical-alignment: center;
|
|
|
|
text: "Last saved: 18:50";
|
|
|
|
}
|
|
|
|
|
2024-04-09 19:52:34 +00:00
|
|
|
VerticalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
|
|
|
|
Text {
|
2024-04-10 10:34:47 +00:00
|
|
|
font-size: Metrics.font-md;
|
2024-04-09 19:47:10 +00:00
|
|
|
vertical-alignment: center;
|
|
|
|
text: "Saved by: Jayrude";
|
|
|
|
}
|
|
|
|
|
2024-04-09 19:52:34 +00:00
|
|
|
VerticalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
}
|
|
|
|
}
|