diff --git a/src/declarativeimports/plasmacomponents3/Button.qml b/src/declarativeimports/plasmacomponents3/Button.qml index 0da110b69..6960f22d8 100644 --- a/src/declarativeimports/plasmacomponents3/Button.qml +++ b/src/declarativeimports/plasmacomponents3/Button.qml @@ -19,8 +19,6 @@ T.Button { implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding) - Layout.minimumWidth: contentItem.implicitWidth + leftPadding + rightPadding - leftPadding: background.leftMargin topPadding: background.topMargin rightPadding: background.rightMargin diff --git a/src/declarativeimports/plasmacomponents3/ToolButton.qml b/src/declarativeimports/plasmacomponents3/ToolButton.qml index 997839adb..15f33c282 100644 --- a/src/declarativeimports/plasmacomponents3/ToolButton.qml +++ b/src/declarativeimports/plasmacomponents3/ToolButton.qml @@ -19,8 +19,6 @@ T.ToolButton { implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding) - Layout.minimumWidth: contentItem.implicitWidth + leftPadding + rightPadding - leftPadding: background.leftMargin topPadding: background.topMargin rightPadding: background.rightMargin