[PlasmaComponents3] Make checkbox text fill its layout

Otherwise the elision property set on it has no effect because no width
boundary is defined.
This commit is contained in:
Nate Graham 2020-08-18 13:50:50 -06:00
parent 2774a61db7
commit c73264c75e

View File

@ -49,6 +49,7 @@ T.CheckBox {
} }
Label { Label {
Layout.fillWidth: true
text: control.text text: control.text
font: control.font font: control.font
color: PlasmaCore.ColorScope.textColor color: PlasmaCore.ColorScope.textColor