summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8fed257a..cc07fd5c 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 : 0)
anchors.bottomMargin: bottomMargin
property int topMargin: __style ? __style.padding.top : 0