diff options
Diffstat (limited to 'src/quickcontrols/material/ToolBar.qml')
-rw-r--r-- | src/quickcontrols/material/ToolBar.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/material/ToolBar.qml b/src/quickcontrols/material/ToolBar.qml index 71eb56833e..9838d47c36 100644 --- a/src/quickcontrols/material/ToolBar.qml +++ b/src/quickcontrols/material/ToolBar.qml @@ -12,9 +12,9 @@ T.ToolBar { Material.elevation: 0 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) + implicitContentWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) + implicitContentHeight + topPadding + bottomPadding) Material.foreground: Material.toolTextColor |