summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-06-07 00:01:35 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-10 11:37:58 +0200
commit84937934fcc235ba9212ad9847a64f3268c427d3 (patch)
tree0813c3a06f4075bf660d21d23e0db2727e6cccb5
parentca06986af37dad834afe7f6c81eb20d0751c6d78 (diff)
downloadqtquickcontrols-84937934fcc235ba9212ad9847a64f3268c427d3.tar.gz
Calendar: fix dayOfWeekDelegate positioning
The grid line width needs to be taken into account Change-Id: I13ecf5e32d1ae3fa967bbd01ae104686ee371411 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
-rw-r--r--src/controls/Styles/Base/CalendarStyle.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/Styles/Base/CalendarStyle.qml b/src/controls/Styles/Base/CalendarStyle.qml
index 5f391b37..8d4b0783 100644
--- a/src/controls/Styles/Base/CalendarStyle.qml
+++ b/src/controls/Styles/Base/CalendarStyle.qml
@@ -361,6 +361,7 @@ Style {
anchors.leftMargin: (control.weekNumbersVisible ? weekNumbersItem.width : 0)
anchors.right: parent.right
height: dayOfWeekHeaderRowHeight
+ spacing: gridVisible ? __gridLineWidth : 0
Repeater {
id: repeater