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:
parent
e7b80a9ae2
commit
06fad29b63
|
@ -32,6 +32,7 @@ CheckBox {
|
||||||
|
|
||||||
contentItem: StatusBaseText {
|
contentItem: StatusBaseText {
|
||||||
text: statusCheckBox.text
|
text: statusCheckBox.text
|
||||||
|
font.pixelSize: statusCheckBox.font.pixelSize
|
||||||
opacity: enabled ? 1.0 : 0.3
|
opacity: enabled ? 1.0 : 0.3
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
|
Loading…
Reference in New Issue