LockScreenHeader adjust clock design (#1541)

NClock: allow style overwrite
This commit is contained in:
Lysec
2026-02-04 21:37:25 +01:00
parent 3a1dbd4c28
commit d4de39f3ea
2 changed files with 32 additions and 5 deletions
+6 -3
View File
@@ -124,18 +124,21 @@ Rectangle {
Layout.fillWidth: true
}
// Clock
// Clock
NClock {
now: Time.now
clockStyle: Settings.data.location.analogClockInCalendar ? "analog" : "digital"
clockStyle: "digital"
showProgress: false
Layout.preferredWidth: 70
Layout.preferredHeight: 70
Layout.alignment: Qt.AlignVCenter
backgroundColor: Color.mSurface
backgroundColor: "transparent"
clockColor: Color.mOnSurface
secondHandColor: Color.mPrimary
hoursFontSize: Style.fontSizeL
minutesFontSize: Style.fontSizeL
hoursFontWeight: Style.fontWeightBold
minutesFontWeight: Style.fontWeightBold
}
}
}