Commit e9a630a0 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Set width of date text

Set the implicit width of the date text of the day selector to ensure
proper alignment
parent 4295dd3a
Pipeline #22670 passed with stage
in 10 minutes and 31 seconds
......@@ -6,6 +6,7 @@
import QtQuick 2.0
import QtQuick.Controls 2.4 as Controls2
import org.kde.kirigami 2.0 as Kirigami
Controls2.ToolButton {
id: root
......@@ -14,6 +15,7 @@ Controls2.ToolButton {
property string selectorTitle
text: selectorDate.toLocaleDateString(Qt.locale(),Locale.NarrowFormat)
implicitWidth: Kirigami.Units.gridUnit * 5
onClicked: {
datePickerSheet.selectedDate = selectorDate;
......
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