fix(StatusCheckBox): enable setting the font size

add a possibility to override the font size for the contentItem's
StatusBaseText

otherwise it's impossible to do stuff like:
```
StatusCheckBox {
  font.pixelSize: 15
}
```¨
This commit is contained in:
Lukáš Tinkl 2022-07-14 14:35:16 +02:00 committed by Michał Cieślak
parent bd2932594a
commit bee3e91423

View File

@ -32,6 +32,7 @@ CheckBox {
contentItem: StatusBaseText {
text: statusCheckBox.text
font.pixelSize: statusCheckBox.font.pixelSize
opacity: enabled ? 1.0 : 0.3
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WordWrap