Fix eliding button text
Setting minimumWidth to implicitWidth forces overflowing text instead of eliding it. REVIEW: 125201
This commit is contained in:
parent
d6e5d81a59
commit
0df4823e8b
@ -69,7 +69,6 @@ QtQuickControlStyle.ButtonStyle {
|
||||
|
||||
PlasmaComponents.Label {
|
||||
id: label
|
||||
Layout.minimumWidth: implicitWidth
|
||||
text: QtQuickControlsPrivate.StyleHelpers.stylizeMnemonics(control.text)
|
||||
font: control.font || theme.defaultFont
|
||||
visible: control.text != ""
|
||||
|
Loading…
Reference in New Issue
Block a user