give Audio menu mute its own row

This commit is contained in:
Zach Pomerantz 2017-06-20 16:13:41 -07:00
parent 8e1cf763e3
commit baafe1ad09

View file

@ -52,11 +52,12 @@ Rectangle {
Separator { visible: root.showTitle() }
Grid {
columns: 2;
ColumnLayout {
x: 16; // padding does not work
spacing: 16;
// mute is in its own row
RowLayout {
AudioControls.CheckBox {
text: qsTr("Mute microphone");
isRedCheck: true;
@ -66,6 +67,10 @@ Rectangle {
checked = Qt.binding(function() { return Audio.muted; }); // restore binding
}
}
}
RowLayout {
spacing: 16;
AudioControls.CheckBox {
text: qsTr("Enable noise reduction");
checked: Audio.noiseReduction;
@ -83,6 +88,7 @@ Rectangle {
}
}
}
}
Separator {}