fix(StatusRadioButton): ensure control label as correct color

Closes #51
This commit is contained in:
Pascal Precht 2021-05-20 12:35:09 +02:00 committed by Michał Cieślak
parent 9f6f36f571
commit d7eb4ab4b3
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ RadioButton {
} }
contentItem: StatusBaseText { contentItem: StatusBaseText {
text: statusRadioButton.text text: statusRadioButton.text
color: Theme.palette.directColor1
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
leftPadding: !!statusRadioButton.text ? statusRadioButton.indicator.width + statusRadioButton.spacing leftPadding: !!statusRadioButton.text ? statusRadioButton.indicator.width + statusRadioButton.spacing
: statusRadioButton.indicator.width : statusRadioButton.indicator.width