fix incorrect font property for other text objects in clock
This commit is contained in:
@@ -57,7 +57,7 @@ WidgetBase {
|
|||||||
|
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
color: root.contentColor
|
color: root.contentColor
|
||||||
font: Config.appearance.font.family.mono // qmllint disable incompatible-type
|
font.family: Config.appearance.font.family.mono // qmllint disable incompatible-type
|
||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
text: Time.dateStr
|
text: Time.dateStr
|
||||||
visible: root.horizontal
|
visible: root.horizontal
|
||||||
@@ -84,7 +84,7 @@ WidgetBase {
|
|||||||
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
color: root.contentColor
|
color: root.contentColor
|
||||||
font: Config.appearance.font.family.mono // qmllint disable incompatible-type
|
font.family: Config.appearance.font.family.mono // qmllint disable incompatible-type
|
||||||
text: Qt.formatDateTime(Time.date, modelData)
|
text: Qt.formatDateTime(Time.date, modelData)
|
||||||
|
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
|
|||||||
Reference in New Issue
Block a user