From 6cf2145c16d3dce3407005aa52b12fdbc7ecdb2e Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Fri, 24 May 2019 12:58:38 -0700 Subject: [PATCH] Fix BUGZ-312; BUGZ-311 --- .../simplifiedUI/settingsApp/audio/Audio.qml | 18 +++++++++--------- .../hifi/simplifiedUI/settingsApp/vr/VR.qml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/interface/resources/qml/hifi/simplifiedUI/settingsApp/audio/Audio.qml b/interface/resources/qml/hifi/simplifiedUI/settingsApp/audio/Audio.qml index b73c07c78b..1f9aa5bcbc 100644 --- a/interface/resources/qml/hifi/simplifiedUI/settingsApp/audio/Audio.qml +++ b/interface/resources/qml/hifi/simplifiedUI/settingsApp/audio/Audio.qml @@ -69,8 +69,8 @@ Flickable { SimplifiedControls.Slider { id: peopleVolume Layout.preferredWidth: parent.width + Layout.preferredHeight: 30 Layout.topMargin: simplifiedUI.margins.settings.settingsGroupTopMargin - height: 30 labelText: "People Volume" from: simplifiedUI.numericConstants.mutedValue to: 20.0 @@ -96,8 +96,8 @@ Flickable { SimplifiedControls.Slider { id: environmentVolume Layout.preferredWidth: parent.width + Layout.preferredHeight: 30 Layout.topMargin: 2 - height: 30 labelText: "Environment Volume" from: simplifiedUI.numericConstants.mutedValue to: 20.0 @@ -124,8 +124,8 @@ Flickable { SimplifiedControls.Slider { id: systemSoundVolume Layout.preferredWidth: parent.width + Layout.preferredHeight: 30 Layout.topMargin: 2 - height: 30 labelText: "System Sound Volume" from: simplifiedUI.numericConstants.mutedValue to: 20.0 @@ -169,8 +169,8 @@ Flickable { SimplifiedControls.Switch { id: muteMicrophoneSwitch - width: parent.width - height: 18 + Layout.preferredHeight: 18 + Layout.preferredWidth: parent.width labelTextOn: "Mute Microphone" checked: AudioScriptingInterface.mutedDesktop onClicked: { @@ -180,8 +180,8 @@ Flickable { SimplifiedControls.Switch { id: pushToTalkSwitch - width: parent.width - height: 18 + Layout.preferredHeight: 18 + Layout.preferredWidth: parent.width labelTextOn: "Push to Talk - Press and Hold \"T\" to Talk" checked: AudioScriptingInterface.pushToTalkDesktop onClicked: { @@ -210,9 +210,9 @@ Flickable { ListView { id: inputDeviceListView Layout.preferredWidth: parent.width + Layout.preferredHeight: contentItem.height Layout.topMargin: simplifiedUI.margins.settings.settingsGroupTopMargin interactive: false - height: contentItem.height spacing: simplifiedUI.margins.settings.spacingBetweenRadiobuttons clip: true model: AudioScriptingInterface.devices.input @@ -305,9 +305,9 @@ Flickable { ListView { id: outputDeviceListView Layout.preferredWidth: parent.width + Layout.preferredHeight: contentItem.height Layout.topMargin: simplifiedUI.margins.settings.settingsGroupTopMargin interactive: false - height: contentItem.height spacing: simplifiedUI.margins.settings.spacingBetweenRadiobuttons clip: true model: AudioScriptingInterface.devices.output diff --git a/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml b/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml index 97799921c2..c7e3cc9fc2 100644 --- a/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml +++ b/interface/resources/qml/hifi/simplifiedUI/settingsApp/vr/VR.qml @@ -199,9 +199,9 @@ Flickable { ListView { id: inputDeviceListView Layout.preferredWidth: parent.width + Layout.preferredHeight: contentItem.height Layout.topMargin: simplifiedUI.margins.settings.settingsGroupTopMargin interactive: false - height: contentItem.height spacing: simplifiedUI.margins.settings.spacingBetweenRadiobuttons clip: true model: AudioScriptingInterface.devices.input @@ -294,9 +294,9 @@ Flickable { ListView { id: outputDeviceListView Layout.preferredWidth: parent.width + Layout.preferredHeight: contentItem.height Layout.topMargin: simplifiedUI.margins.settings.settingsGroupTopMargin interactive: false - height: contentItem.height spacing: simplifiedUI.margins.settings.spacingBetweenRadiobuttons clip: true model: AudioScriptingInterface.devices.output