Commit f7870910 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Align the header (start date) of the todo page to the center and increase font

parent 85972442
Pipeline #1273 passed with stage
in 5 minutes and 33 seconds
......@@ -47,12 +47,16 @@ Kirigami.Page {
anchors.centerIn: parent
Controls2.Label {
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
font.pointSize: Kirigami.Units.fontMetrics.font.pointSize * 1.2
text: todoData ? todoData.dtstart.toLocaleDateString(Qt.locale()) : startdt.toLocaleDateString(Qt.locale())
}
Kirigami.FormLayout {
id: todoCard
Controls2.Label {
text: todoData ? todoData.dtstart.toLocaleDateString(Qt.locale()) : startdt.toLocaleDateString(Qt.locale())
}
Kirigami.Separator {
Kirigami.FormData.isSection: true
......
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