From 6941b934bdf5f3c7b65f682c8dfc5c6562292351 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 15 Jun 2015 00:06:05 +0200 Subject: Rename Control::availableWidth/Height to contentWidth/Height Change-Id: Ia39a52e7e8d968b05fd7a2d64ab3b3030a9f528e Reviewed-by: J-P Nurmi --- src/imports/controls/Switch.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imports/controls/Switch.qml') diff --git a/src/imports/controls/Switch.qml b/src/imports/controls/Switch.qml index c1661f35..7d12d14d 100644 --- a/src/imports/controls/Switch.qml +++ b/src/imports/controls/Switch.qml @@ -96,8 +96,8 @@ AbstractSwitch { label: Text { x: control.mirrored ? control.leftPadding : (indicator.x + indicator.width + control.Theme.spacing) y: control.topPadding - width: control.availableWidth - indicator.width - control.Theme.spacing - height: control.availableHeight + width: control.contentWidth - indicator.width - control.Theme.spacing + height: control.contentHeight text: control.text color: control.enabled ? control.Theme.textColor : control.Theme.disabledColor -- cgit v1.2.3