mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Major update: Changed: layout, fonts, configs, readme.
This commit is contained in:
@@ -23,7 +23,8 @@ Column {
|
||||
Label {
|
||||
id: timeLabel
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pointSize: root.font.pointSize * 3
|
||||
font.pointSize: root.font.pointSize * 9
|
||||
font.bold: true
|
||||
color: root.palette.text
|
||||
renderType: Text.QtRendering
|
||||
function updateTime() {
|
||||
@@ -35,6 +36,8 @@ Column {
|
||||
id: dateLabel
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
color: root.palette.text
|
||||
font.pointSize: root.font.pointSize * 2
|
||||
font.bold: true
|
||||
renderType: Text.QtRendering
|
||||
function updateTime() {
|
||||
text = new Date().toLocaleDateString(Qt.locale(config.Locale), config.DateFormat == "short" ? Locale.ShortFormat : config.DateFormat !== "" ? config.DateFormat : Locale.LongFormat)
|
||||
|
||||
Reference in New Issue
Block a user