diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-06-05 20:21:43 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-06 09:37:28 +0200 |
| commit | 6694cbabbf905ede781f430d6ec7587c79f94de9 (patch) | |
| tree | 3f68e1f37217c901d00e24b47dadbb9493cb25cc /src | |
| parent | f31c8c1b567cb3c2c0704ef1edb982999f96fd74 (diff) | |
Fix missing headerview gap when not showing frame in TableView
Tested on all three platforms and looks better.
Change-Id: I8a68dfc7fe97a05c4313ac10de2f93dabec5a964
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/controls/TableView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index c02123918..17b2b1863 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -607,7 +607,7 @@ ScrollView { anchors.topMargin: viewport.anchors.topMargin anchors.leftMargin: viewport.anchors.leftMargin anchors.margins: viewport.anchors.margins - anchors.rightMargin: __scroller.rightMargin + + anchors.rightMargin: (frameVisible ? __scroller.rightMargin : 0) + (__scroller.outerFrame && __scrollBarTopMargin ? 0 : __verticalScrollBar.width + __scroller.scrollBarSpacing + root.__style.padding.right) |
