summaryrefslogtreecommitdiff
path: root/src/controls/TabView.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-06-02 13:56:30 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-03 14:54:03 +0200
commitea2de46b77aa42f857d79cf0b23113c57e02c759 (patch)
tree14d436abdd160bb64f333512886f4e4706c1fbee /src/controls/TabView.qml
parent33850881a074f93622869cc4dc6bc77fbbc1fa0c (diff)
downloadqtquickcontrols-ea2de46b77aa42f857d79cf0b23113c57e02c759.tar.gz
Remove unnecessary bottom margin for TabView on mac
This extra padding at the bottom is not needed and only serves to make the borders uneven on mac. Change-Id: Ibb3f8a3ba1f37ce1e9c6674a53cfb13e257fb97f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/controls/TabView.qml')
-rw-r--r--src/controls/TabView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml
index 3273f825..e0d3ca3b 100644
--- a/src/controls/TabView.qml
+++ b/src/controls/TabView.qml
@@ -198,7 +198,7 @@ FocusScope {
anchors.fill: parent
anchors.margins: (frameVisible ? frameWidth : 0)
anchors.topMargin: anchors.margins + (style =="mac" ? 6 : 0)
- anchors.bottomMargin: anchors.margins + (style =="mac" ? 6 : 0)
+ anchors.bottomMargin: anchors.margins
property int frameWidth
property string style