fix(StatusCheckBox): set the correct font size

since we are taking over the `font` properties from the toplevel control
for the text, need to setup the correct `pixelSize` as well
This commit is contained in:
Lukáš Tinkl 2023-09-27 13:04:34 +02:00 committed by Lukáš Tinkl
parent b80c742b33
commit e1941fdedb
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ CheckBox {
}
font.family: Theme.palette.baseFont.name
font.pixelSize: size === StatusCheckBox.Size.Regular ? 15 : 13
indicator: Rectangle {
anchors.left: root.leftSide? parent.left : undefined