Indent PTT controls on AudioPage

The PTT controls were grouped in a ColumnLayout with the microphone
device and volume controls. Grouping the microphone controls together
mirrors what is done with the mirror device controls.
This commit is contained in:
Vasily
2019-02-01 16:38:48 +01:00
parent 86599fbd29
commit 5aa5d84345
2 changed files with 44 additions and 42 deletions
+3 -1
View File
@@ -116,7 +116,9 @@ MyStackViewPage {
} }
} }
} }
}
ColumnLayout {
spacing: 18
MyToggleButton { MyToggleButton {
id: audioMuteProximitySensorToggle id: audioMuteProximitySensorToggle
Layout.preferredWidth: 600 Layout.preferredWidth: 600
@@ -23,7 +23,7 @@ RowLayout {
Layout.minimumWidth: 850 Layout.minimumWidth: 850
Layout.preferredWidth: 850 Layout.preferredWidth: 850
onActivated: { onActivated: {
if (componentCompleted) { if (deviceIndex >= 0) {
AudioTabController.setMicDeviceIndex(currentIndex) AudioTabController.setMicDeviceIndex(currentIndex)
} }
} }