Remove Layout.minimumWidth from Button and ToolButton
This fixes non-square buttons in plasma-pa.
This commit is contained in:
parent
4980e4e985
commit
0f96187bfa
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user