From a4a1ac5d120ab231aeb98edd40e20ea65288e1cf Mon Sep 17 00:00:00 2001 From: Alexander Ivash Date: Fri, 18 May 2018 00:45:54 +0300 Subject: [PATCH] =?UTF-8?q?The=20height=20of=20the=20=E2=80=9CTake=20it=20?= =?UTF-8?q?off=E2=80=9D=20button=20should=20be=20the=20same=20as=20?= =?UTF-8?q?=E2=80=9Csave=E2=80=9D=20button=20=E2=80=9Cm=E2=80=9D=20and=20?= =?UTF-8?q?=E2=80=9Cdeg=E2=80=9D=20should=20align=20with=20=E2=80=9CPositi?= =?UTF-8?q?on=E2=80=9D=20and=20=E2=80=9CRotation=E2=80=9D=20text=20The=20s?= =?UTF-8?q?tep=20size=20in=20degrees=20should=20be=201=20degree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qml/hifi/avatarapp/AdjustWearables.qml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml index f1b3e4c1b1..533a0a1789 100644 --- a/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml +++ b/interface/resources/qml/hifi/avatarapp/AdjustWearables.qml @@ -173,11 +173,13 @@ Rectangle { spacing: 20 TextStyle5 { + id: positionLabel text: "Position" } TextStyle7 { text: "m" + anchors.verticalCenter: positionLabel.verticalCenter } } @@ -215,11 +217,13 @@ Rectangle { spacing: 20 TextStyle5 { + id: rotationLabel text: "Rotation" } TextStyle7 { text: "deg" + anchors.verticalCenter: rotationLabel.verticalCenter } } @@ -242,10 +246,10 @@ Rectangle { onYvalueChanged: if(notify) notifyRotationChanged(); onZvalueChanged: if(notify) notifyRotationChanged(); - decimals: 2 - realFrom: -10 - realTo: 10 - realStepSize: 0.01 + decimals: 0 + realFrom: -180 + realTo: 180 + realStepSize: 1 } } @@ -294,12 +298,14 @@ Rectangle { HifiControlsUit.Button { fontSize: 18 + height: 40 anchors.right: parent.right color: hifi.buttons.red; colorScheme: hifi.colorSchemes.dark; text: "TAKE IT OFF" onClicked: wearableDeleted(root.avatarName, getCurrentWearable().id); enabled: wearablesCombobox.model.count !== 0 + anchors.verticalCenter: scalespinner.verticalCenter } }