Skip to content

Commit

Permalink
fix switch qml
Browse files Browse the repository at this point in the history
  • Loading branch information
notmart committed Jul 23, 2021
1 parent eab0b04 commit e8568fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qtquick-controls-style/Zynthian-Plasma/Switch.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ T.Switch {
hoverEnabled: true

indicator: SwitchIndicator {
control: control
control: control
LayoutMirroring.enabled: control.mirrored
LayoutMirroring.childrenInherit: true
anchors {
Expand All @@ -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 {
Expand Down

0 comments on commit e8568fd

Please sign in to comment.