Commit 2a9c5a6b authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Fix alignment of day numbers

parent d7f7b2f3
Pipeline #3797 passed with stage
in 7 minutes and 11 seconds
......@@ -81,9 +81,14 @@ Rectangle {
property bool isCurrentMonth: model.monthNumber == Qt.formatDate(plasmaCalendar.displayedDate, "MM")
anchors.fill: parent
text: model.dayNumber
enabled: isCurrentMonth
contentItem: Controls2.Label {
text: model.dayNumber
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
onClicked: dayDelegate.dayClicked()
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