diff --git a/interface/resources/qml/hifi/simplifiedUI/avatarApp/AvatarApp.qml b/interface/resources/qml/hifi/simplifiedUI/avatarApp/AvatarApp.qml
index a659ff4e0c..57bec2250f 100644
--- a/interface/resources/qml/hifi/simplifiedUI/avatarApp/AvatarApp.qml
+++ b/interface/resources/qml/hifi/simplifiedUI/avatarApp/AvatarApp.qml
@@ -92,7 +92,7 @@ Rectangle {
AvatarAppComponents.DisplayNameHeader {
id: displayNameHeader
- previewUrl: avatarPreviewUrl
+ previewUrl: root.avatarPreviewUrl
loading: !inventoryContentsList.visible
anchors.top: parent.top
anchors.topMargin: 30
@@ -210,7 +210,10 @@ Rectangle {
downloadUrl = avatarAppInventoryModel.get(i).download_url;
previewUrl = avatarAppInventoryModel.get(i).preview;
if (MyAvatar.skeletonModelURL === downloadUrl) {
- avatarPreviewUrl = previewUrl;
+ if (previewUrl.indexOf("missing.png") > -1) {
+ previewUrl = "../../images/defaultAvatar.svg"; // Extra `../` because the image is stored 2 levels up from `DisplayNameHeader.qml`
+ }
+ root.avatarPreviewUrl = previewUrl;
return;
}
}
diff --git a/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/AvatarAppListDelegate.qml b/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/AvatarAppListDelegate.qml
index 7c6ad1b09c..cdfa06190c 100644
--- a/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/AvatarAppListDelegate.qml
+++ b/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/AvatarAppListDelegate.qml
@@ -51,12 +51,14 @@ Rectangle {
Image {
id: itemPreviewImage
- source: root.itemPreviewImageUrl
+ source: root.itemPreviewImageUrl.indexOf("missing.png") > -1 ? "../../images/defaultAvatar.svg" : root.itemPreviewImageUrl
anchors.left: parent.left
anchors.leftMargin: 20
anchors.verticalCenter: parent.verticalCenter
- height: 60
- width: height
+ width: 60
+ height: width
+ sourceSize.width: width
+ sourceSize.height: height
fillMode: Image.PreserveAspectCrop
mipmap: true
layer.enabled: true
diff --git a/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/DisplayNameHeader.qml b/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/DisplayNameHeader.qml
index 6bf3d34d6f..a6be398e53 100644
--- a/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/DisplayNameHeader.qml
+++ b/interface/resources/qml/hifi/simplifiedUI/avatarApp/components/DisplayNameHeader.qml
@@ -43,6 +43,8 @@ Item {
anchors.verticalCenter: parent.verticalCenter
height: 100
width: height
+ sourceSize.width: width
+ sourceSize.height: height
fillMode: Image.PreserveAspectCrop
layer.enabled: true
layer.effect: OpacityMask {
diff --git a/interface/resources/qml/hifi/simplifiedUI/images/defaultAvatar.svg b/interface/resources/qml/hifi/simplifiedUI/images/defaultAvatar.svg
new file mode 100644
index 0000000000..05779e7d40
--- /dev/null
+++ b/interface/resources/qml/hifi/simplifiedUI/images/defaultAvatar.svg
@@ -0,0 +1,14 @@
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml
index 506c2a72bc..cb10cc5eef 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/InputDeviceButton.qml
@@ -48,9 +48,6 @@ Rectangle {
}
}
- height: 30
- width: 34
-
opacity: 0.7
onLevelChanged: {
@@ -67,13 +64,8 @@ Rectangle {
MouseArea {
id: mouseArea
-
- anchors {
- left: icon.left
- right: bar.right
- top: icon.top
- bottom: icon.bottom
- }
+
+ anchors.fill: parent
hoverEnabled: true
scrollGestureEnabled: false
@@ -109,9 +101,10 @@ Rectangle {
Item {
id: icon
anchors.verticalCenter: parent.verticalCenter
- anchors.left: parent.left
- width: parent.width - bar.width - bar.anchors.leftMargin
- height: parent.height
+ anchors.right: parent.horizontalCenter
+ anchors.rightMargin: 2
+ width: 13
+ height: 21
Item {
anchors.fill: parent
@@ -136,14 +129,12 @@ Rectangle {
Item {
id: bar
- anchors {
- left: icon.right
- leftMargin: 0
- verticalCenter: icon.verticalCenter
- }
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.left: parent.horizontalCenter
+ anchors.leftMargin: 2
width: 4
- height: parent.height
+ height: 21
Rectangle { // base
id: baseBar
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-clip-i.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-clip-i.svg
index f912c1e744..8b694c7f3d 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-clip-i.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-clip-i.svg
@@ -1,10 +1,20 @@
-
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-gate-i.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-gate-i.svg
index 8255174532..ac70ce66cb 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-gate-i.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-gate-i.svg
@@ -1,3 +1,13 @@
-
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-a.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-a.svg
index 67eafc27c8..eb36c2dd55 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-a.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-a.svg
@@ -1,3 +1,13 @@
-
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-i.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-i.svg
index 63af1b0da8..ebca81f370 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-i.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-mute-i.svg
@@ -1,3 +1,13 @@
-
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-a.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-a.svg
index e6df3c69d7..3ce7c0ca51 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-a.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-a.svg
@@ -1 +1,17 @@
-
\ No newline at end of file
+
+
diff --git a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-i.svg b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-i.svg
index 2141ea5229..3bf1f1bf9e 100644
--- a/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-i.svg
+++ b/interface/resources/qml/hifi/simplifiedUI/inputDeviceButton/images/mic-ptt-i.svg
@@ -1,24 +1,8 @@
-
+
-