Skip to content

Commit

Permalink
use switch instead of NewSwitch for more consistent UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Feb 26, 2024
1 parent f2577c8 commit 928ed9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ ScrollView {
anchors.left: parent.left
}

NewSwitch {
Switch {
width: 32
height: elementHeight
anchors.rightMargin: Qt.inputMethod.visible ? 96 : 36
Expand Down
6 changes: 3 additions & 3 deletions qml/ui/widgets/map/MapWidgetForm.ui.qml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ BaseWidget {
anchors.left: parent.left
verticalAlignment: Text.AlignVCenter
}
NewSwitch {
Switch {
width: 32
height: parent.height
anchors.rightMargin: 6
Expand All @@ -265,7 +265,7 @@ BaseWidget {
anchors.left: parent.left
verticalAlignment: Text.AlignVCenter
}
NewSwitch {
Switch {
width: 32
height: parent.height
anchors.rightMargin: 6
Expand All @@ -288,7 +288,7 @@ BaseWidget {
anchors.left: parent.left
verticalAlignment: Text.AlignVCenter
}
NewSwitch {
Switch {
width: 32
height: parent.height
anchors.rightMargin: 6
Expand Down

0 comments on commit 928ed9c

Please sign in to comment.