aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/CheckBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/CheckBox.qml')
-rw-r--r--src/imports/controls/CheckBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/CheckBox.qml b/src/imports/controls/CheckBox.qml
index f2d6398c..9e71dda9 100644
--- a/src/imports/controls/CheckBox.qml
+++ b/src/imports/controls/CheckBox.qml
@@ -86,8 +86,8 @@ AbstractCheckBox {
label: Text {
x: control.mirrored ? control.leftPadding : (indicator.x + indicator.width + control.Theme.spacing)
y: control.topPadding
- width: control.contentWidth - indicator.width - control.Theme.spacing
- height: control.contentHeight
+ width: control.availableWidth - indicator.width - control.Theme.spacing
+ height: control.availableHeight
text: control.text
color: control.enabled ? control.Theme.textColor : control.Theme.disabledColor