bar: add "hella shortened" form for even narrower screens

This commit is contained in:
end-4
2025-05-24 11:44:07 +02:00
parent 0e74fc78e5
commit c8a4da6d8b
4 changed files with 32 additions and 10 deletions
@@ -6,6 +6,7 @@ import QtQuick.Layouts
Rectangle {
property bool borderless: ConfigOptions.bar.borderless
property bool showDate: true
implicitWidth: rowLayout.implicitWidth + rowLayout.spacing * 6 // idk, text seems nicer w/ more padding
implicitHeight: 32
color: borderless ? "transparent" : Appearance.colors.colLayer1
@@ -24,12 +25,14 @@ Rectangle {
}
StyledText {
visible: showDate
font.pixelSize: Appearance.font.pixelSize.small
color: Appearance.colors.colOnLayer1
text: "•"
}
StyledText {
visible: showDate
font.pixelSize: Appearance.font.pixelSize.small
color: Appearance.colors.colOnLayer1
text: DateTime.date