diff options
Diffstat (limited to 'src/settingsui/timedate/ManualTime.qml')
-rw-r--r-- | src/settingsui/timedate/ManualTime.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/settingsui/timedate/ManualTime.qml b/src/settingsui/timedate/ManualTime.qml index 1438565..87e0f7e 100644 --- a/src/settingsui/timedate/ManualTime.qml +++ b/src/settingsui/timedate/ManualTime.qml @@ -69,8 +69,8 @@ Item { delegate: ItemDelegate { id: dayDelegate height: dayBox.height - // QTBUG-49224: contentItem: Item {} - Text { + width: dayBox.width + contentItem: Text { anchors.left: dayDelegate.left anchors.leftMargin: pluginMain.margin text: modelData + 1 @@ -97,8 +97,8 @@ Item { delegate: ItemDelegate { id: monthDelegate height: monthBox.height - // QTBUG-49224: contentItem: Item {} - Text { + width: monthBox.width + contentItem: Text { anchors.left: monthDelegate.left anchors.leftMargin: pluginMain.margin color: monthBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" @@ -128,8 +128,8 @@ Item { delegate: ItemDelegate { id: yearDelegate height: yearBox.height - // QTBUG-49224: contentItem: Item {} - Text { + width: yearBox.width + contentItem: Text { anchors.left: yearDelegate.left anchors.leftMargin: pluginMain.margin text: index + firstYear @@ -170,8 +170,8 @@ Item { delegate: ItemDelegate { id: hourDelegate height: hourBox.height - // QTBUG-49224: contentItem: Item {} - Text { + width: hourBox.width + contentItem: Text { anchors.left: hourDelegate.left anchors.leftMargin: pluginMain.margin text: zeroPadTime(parseInt(modelData)) @@ -198,8 +198,8 @@ Item { delegate: ItemDelegate { id: minuteDelegate height: minuteBox.height - // QTBUG-49224: contentItem: Item {} - Text { + width: minuteBox.width + contentItem: Text { anchors.left: minuteDelegate.left anchors.leftMargin: pluginMain.margin text: zeroPadTime(parseInt(modelData)) |