From e8568fd428d333779969d652c7f6582327dadbfe Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 23 Jul 2021 10:40:43 +0200 Subject: [PATCH] fix switch qml --- qtquick-controls-style/Zynthian-Plasma/Switch.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qtquick-controls-style/Zynthian-Plasma/Switch.qml b/qtquick-controls-style/Zynthian-Plasma/Switch.qml index 05843f756..d6fdcd6e2 100644 --- a/qtquick-controls-style/Zynthian-Plasma/Switch.qml +++ b/qtquick-controls-style/Zynthian-Plasma/Switch.qml @@ -24,7 +24,7 @@ T.Switch { hoverEnabled: true indicator: SwitchIndicator { - control: control + control: control LayoutMirroring.enabled: control.mirrored LayoutMirroring.childrenInherit: true anchors { @@ -33,7 +33,6 @@ T.Switch { } width: control.text.length > 0 ? implicitWidth : parent.width height: control.text.length > 0 ? implicitHeight : parent.height - control: control } contentItem: Label {