Commit e47dde57 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Display zero in front of hour

parent 91618c33
......@@ -89,7 +89,7 @@ ColumnLayout {
Layout.alignment: Qt.AlignHCenter
Controls2.Label {
text: root.hours + ":" + ( (root.minutes < 10) ? "0" : "") + root.minutes
text: ((root.hours < 10) ? "0" : "" ) + root.hours + ":" + ( (root.minutes < 10) ? "0" : "") + root.minutes
font.pointSize: Kirigami.Units.fontMetrics.font.pointSize * 1.5
}
......
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