summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2014-10-30 16:00:12 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2014-10-30 16:58:34 +0100
commit58d767c73837274f7b36458b6171e79c2c0ef82d (patch)
treebd678db1bbe6ce78eb32c8aaf93aa5a44dd397e8
parent6811722011970ee66f69c8b50417ca5f66943111 (diff)
downloadqtquickcontrols-58d767c73837274f7b36458b6171e79c2c0ef82d.tar.gz
ToolBar: fix spacing between menu button & content
Change-Id: I0e46e77186a8572c63c3eed7a99f35b948b87de3 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
-rw-r--r--src/controls/ToolBar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/ToolBar.qml b/src/controls/ToolBar.qml
index cc07fd5c..b79e0ade 100644
--- a/src/controls/ToolBar.qml
+++ b/src/controls/ToolBar.qml
@@ -151,7 +151,7 @@ FocusScope {
anchors.topMargin: topMargin
anchors.leftMargin: leftMargin
- anchors.rightMargin: rightMargin + (buttonLoader.active ? buttonLoader.width : 0)
+ anchors.rightMargin: rightMargin + (buttonLoader.active ? buttonLoader.width + rightMargin : 0)
anchors.bottomMargin: bottomMargin
property int topMargin: __style ? __style.padding.top : 0