Fix the alignment of the label of the toolbutton
When only a label exists in a toolbutton, without filling the width of the rowlayout, the label is not properly aligned in the center. Differential Revision: https://phabricator.kde.org/D21415
This commit is contained in:
parent
adb9998988
commit
cd8b6b71ce
@ -53,6 +53,7 @@ T.ToolButton {
|
||||
source: control.icon ? (control.icon.name || control.icon.source) : ""
|
||||
}
|
||||
Label {
|
||||
Layout.fillWidth: true
|
||||
visible: text.length > 0
|
||||
text: control.Kirigami.MnemonicData.richTextLabel
|
||||
font: control.font
|
||||
|
Loading…
x
Reference in New Issue
Block a user