diff --git a/src/declarativeimports/plasmacomponents/qml/styles/ToolButtonStyle.qml b/src/declarativeimports/plasmacomponents/qml/styles/ToolButtonStyle.qml index e484c9381..23714b3ed 100644 --- a/src/declarativeimports/plasmacomponents/qml/styles/ToolButtonStyle.qml +++ b/src/declarativeimports/plasmacomponents/qml/styles/ToolButtonStyle.qml @@ -170,7 +170,7 @@ QtQuickControlStyle.ButtonStyle { implicitWidth: { if (control.text.length == 0) { - height; + implicitHeight; } else { Math.max(theme.mSize(theme.defaultFont).width*12, style.minimumWidth); }