From ea2de46b77aa42f857d79cf0b23113c57e02c759 Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Date: Sun, 2 Jun 2013 13:56:30 +0200
Subject: [PATCH] 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>
---
 src/controls/TabView.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml
index 3273f8259..e0d3ca3bb 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
-- 
GitLab