From d6ba0ff0b4477e0b4c18557b8514ec88a58368d1 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 25 Jan 2013 11:27:02 +0100 Subject: [PATCH] fix minimum tabbutton width --- .../plasmacomponents/qml/private/TabBarLayout.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml index e80060567..bb96903b5 100644 --- a/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml +++ b/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml @@ -176,7 +176,7 @@ Item { } var maxAllowedWidth = theme.defaultFont.mSize.width * 14 - var itemWidth = Math.min(maxAllowedWidth, (root.width - (visibleChildCount-1)*10) / visibleChildCount) + var itemWidth = (root.width - (visibleChildCount-1)*10) / visibleChildCount var itemIndex = mirrored ? childCount - 1 : 0 var increment = mirrored ? - 1 : 1