fixng ptt checkbox

This commit is contained in:
Wayne Chen 2019-03-10 17:18:18 -07:00
parent 2eaa1e63d3
commit 54973375a4

View file

@ -171,6 +171,8 @@ Rectangle {
height: pttTextContainer.height + pttCheckBox.height + margins.paddings + 10 height: pttTextContainer.height + pttCheckBox.height + margins.paddings + 10
AudioControls.CheckBox { AudioControls.CheckBox {
id: pttCheckBox id: pttCheckBox
spacing: muteMic.spacing;
width: rightMostInputLevelPos
anchors.top: parent.top anchors.top: parent.top
text: qsTr("Push To Talk (T)"); text: qsTr("Push To Talk (T)");
checked: isVR ? AudioScriptingInterface.pushToTalkHMD : AudioScriptingInterface.pushToTalkDesktop; checked: isVR ? AudioScriptingInterface.pushToTalkHMD : AudioScriptingInterface.pushToTalkDesktop;