aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/fusion/ToolBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/fusion/ToolBar.qml')
-rw-r--r--src/quickcontrols/fusion/ToolBar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/fusion/ToolBar.qml b/src/quickcontrols/fusion/ToolBar.qml
index 13b269e9df..697ca35663 100644
--- a/src/quickcontrols/fusion/ToolBar.qml
+++ b/src/quickcontrols/fusion/ToolBar.qml
@@ -11,9 +11,9 @@ T.ToolBar {
id: control
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- contentWidth + leftPadding + rightPadding)
+ implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- contentHeight + topPadding + bottomPadding)
+ implicitContentHeight + topPadding + bottomPadding)
horizontalPadding: 6
topPadding: control.position === T.ToolBar.Footer ? 1 : 0