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 Lukáš Tinkl
parent e7b80a9ae2
commit 06fad29b63
1 changed files with 1 additions and 0 deletions

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