From 694c84ee11c47ca1449852b355ff54ce9940c4e8 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 22 Nov 2023 13:57:05 +0100 Subject: [PATCH] move start button to the left --- .../openhd_settings/PopupScanChannels.qml | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml b/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml index fc886295c..98e28ed6d 100644 --- a/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml +++ b/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml @@ -78,19 +78,6 @@ Rectangle{ RowLayout{ id:channelSelectorRow Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter - ComboBox { - Layout.preferredWidth: 400 - Layout.minimumWidth: 100 - id: comboBoxWhichFrequencyToScan - model: model_chann_to_scan - textRole: "title" - Material.background: { - (comboBoxWhichFrequencyToScan.currentIndex===0) ? "#2b9848" : "#ffae42" - } - onCurrentIndexChanged: { - } - enabled: _ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode==0 - } Button{ text: "START" enabled: _ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode==0 @@ -107,6 +94,20 @@ Rectangle{ } } } + + ComboBox { + Layout.preferredWidth: 400 + Layout.minimumWidth: 100 + id: comboBoxWhichFrequencyToScan + model: model_chann_to_scan + textRole: "title" + Material.background: { + (comboBoxWhichFrequencyToScan.currentIndex===0) ? "#2b9848" : "#ffae42" + } + onCurrentIndexChanged: { + } + enabled: _ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode==0 + } ButtonIconInfo{ visible:false onClicked: {