Even more cleanup

This commit is contained in:
MrDowntempo
2025-10-11 02:43:34 -04:00
committed by GitHub
parent 357c30617d
commit 76770bbb3c
+3 -1
View File
@@ -163,7 +163,7 @@ NPanel {
} }
} }
// Spacer to push content left // Spacer between date and clock
Item { Item {
Layout.fillWidth: true Layout.fillWidth: true
} }
@@ -226,12 +226,14 @@ NPanel {
var t = Settings.data.location.use12hourFormat ? Qt.locale().toString(new Date(), "hh AP") : Qt.locale().toString(new Date(), "HH") var t = Settings.data.location.use12hourFormat ? Qt.locale().toString(new Date(), "hh AP") : Qt.locale().toString(new Date(), "HH")
return t.split(" ")[0] return t.split(" ")[0]
} }
pointSize: Style.fontSizeXS * scaling pointSize: Style.fontSizeXS * scaling
font.weight: Style.fontWeightBold font.weight: Style.fontWeightBold
color: Color.mOnPrimary color: Color.mOnPrimary
family: Settings.data.ui.fontFixed family: Settings.data.ui.fontFixed
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
} }
NText { NText {
text: Qt.formatTime(Time.date, "mm") text: Qt.formatTime(Time.date, "mm")
pointSize: Style.fontSizeXXS * scaling pointSize: Style.fontSizeXXS * scaling