From 928ed9cbc46747ab233c5fd69f7e3a4a8528bd2d Mon Sep 17 00:00:00 2001 From: consti10 Date: Mon, 26 Feb 2024 11:34:51 +0100 Subject: [PATCH] use switch instead of NewSwitch for more consistent UI --- .../configpopup/qopenhd_settings/AppWidgetSettingsView.qml | 2 +- qml/ui/widgets/map/MapWidgetForm.ui.qml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qml/ui/configpopup/qopenhd_settings/AppWidgetSettingsView.qml b/qml/ui/configpopup/qopenhd_settings/AppWidgetSettingsView.qml index 0bd496f84..a15c39f16 100755 --- a/qml/ui/configpopup/qopenhd_settings/AppWidgetSettingsView.qml +++ b/qml/ui/configpopup/qopenhd_settings/AppWidgetSettingsView.qml @@ -1298,7 +1298,7 @@ ScrollView { anchors.left: parent.left } - NewSwitch { + Switch { width: 32 height: elementHeight anchors.rightMargin: Qt.inputMethod.visible ? 96 : 36 diff --git a/qml/ui/widgets/map/MapWidgetForm.ui.qml b/qml/ui/widgets/map/MapWidgetForm.ui.qml index 8f893904c..41f199154 100644 --- a/qml/ui/widgets/map/MapWidgetForm.ui.qml +++ b/qml/ui/widgets/map/MapWidgetForm.ui.qml @@ -243,7 +243,7 @@ BaseWidget { anchors.left: parent.left verticalAlignment: Text.AlignVCenter } - NewSwitch { + Switch { width: 32 height: parent.height anchors.rightMargin: 6 @@ -265,7 +265,7 @@ BaseWidget { anchors.left: parent.left verticalAlignment: Text.AlignVCenter } - NewSwitch { + Switch { width: 32 height: parent.height anchors.rightMargin: 6 @@ -288,7 +288,7 @@ BaseWidget { anchors.left: parent.left verticalAlignment: Text.AlignVCenter } - NewSwitch { + Switch { width: 32 height: parent.height anchors.rightMargin: 6