mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-31 01:36:50 +00:00
Even more cleanup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user