Fix elide of TabButtons
Without fillWidth: true the width is unmanaged by the GridView If the width is unmanaged it will fit the text BUG: 434945
This commit is contained in:
parent
239a48175e
commit
a45bd75800
@ -60,6 +60,7 @@ T.TabButton {
|
||||
}
|
||||
Label {
|
||||
id: label
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: control.display != T.AbstractButton.TextBesideIcon || icon.source.length === 0 ? Qt.AlignCenter : Qt.AlignVCenter | Qt.AlignLeft
|
||||
visible: text.length > 0 && control.display !== T.AbstractButton.IconOnly
|
||||
text: control.Kirigami.MnemonicData.richTextLabel
|
||||
|
Loading…
Reference in New Issue
Block a user