Commit ffb09ab3 authored by Bhushan Shah's avatar Bhushan Shah 📱

time: Fix font coloring

parent 4975c903
......@@ -108,6 +108,7 @@ Item {
width: dayDigit.width
property int ownIndex: index
text: index+1
color: theme.textColor
font.pointSize: root.fontSize
opacity: PathView.itemOpacity
}
......@@ -137,6 +138,7 @@ Item {
property variant months: Array(i18n("Jan"), i18n("Feb"), i18n("Mar"), i18n("Apr"), i18n("May"), i18n("Jun"), i18n("Jul"), i18n("Aug"), i18n("Sep"), i18n("Oct"), i18n("Nov"), i18n("Dec"))
text: months[index]
font.pointSize: root.fontSize
color: theme.textColor
opacity: PathView.itemOpacity
}
width: monthPlaceHolder.width
......
......@@ -57,6 +57,7 @@ Item {
width: spinnerView.width
property int ownIndex: index
text: index < 10 ? "0"+index : index
color: theme.textColor
font.pointSize: root.fontSize
opacity: PathView.itemOpacity
}
......
......@@ -117,6 +117,7 @@ Item {
property int ownIndex: index
text: (!root.twentyFour && index == 0) ? "12" : clockRow.twoDigitString(index)
font.pointSize: root.fontSize
color: theme.textColor
opacity: PathView.itemOpacity
}
onSelectedIndexChanged: {
......@@ -204,6 +205,7 @@ Item {
horizontalAlignment: Text.AlignLeft
property int ownIndex: index
text: meridiae
color: theme.textColor
font.pointSize: root.fontSize
//opacity: PathView.itemOpacity
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment