From a41a3268c7b1f1d510c452e5430db0d5e5ee4055 Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Thu, 22 Mar 2018 17:05:02 +0100 Subject: Fix detected anchors on an item that is managed by a layout Change-Id: Ie1f493eef4b597a447d0dc47e9ab383a8fa7fe88 Reviewed-by: J-P Nurmi --- src/controls/Styles/Base/CheckBoxStyle.qml | 2 -- src/controls/Styles/Base/RadioButtonStyle.qml | 2 -- 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/controls/Styles/Base/CheckBoxStyle.qml b/src/controls/Styles/Base/CheckBoxStyle.qml index 30057ca1..98f45740 100644 --- a/src/controls/Styles/Base/CheckBoxStyle.qml +++ b/src/controls/Styles/Base/CheckBoxStyle.qml @@ -182,13 +182,11 @@ Style { Loader { id: indicatorLoader sourceComponent: indicator - anchors.verticalCenter: parent.verticalCenter } Loader { id: labelLoader Layout.fillWidth: true sourceComponent: label - anchors.verticalCenter: parent.verticalCenter } } } diff --git a/src/controls/Styles/Base/RadioButtonStyle.qml b/src/controls/Styles/Base/RadioButtonStyle.qml index 4df89fb3..768345b9 100644 --- a/src/controls/Styles/Base/RadioButtonStyle.qml +++ b/src/controls/Styles/Base/RadioButtonStyle.qml @@ -162,12 +162,10 @@ Style { Loader { id: indicatorLoader sourceComponent: indicator - anchors.verticalCenter: parent.verticalCenter } Loader { id: labelLoader sourceComponent: label - anchors.verticalCenter: parent.verticalCenter } } } -- cgit v1.2.1