Skip to content

Commit

Permalink
move start button to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael committed Nov 22, 2023
1 parent 7d053e0 commit 694c84e
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions qml/ui/configpopup/openhd_settings/PopupScanChannels.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: {
Expand Down

0 comments on commit 694c84e

Please sign in to comment.