mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 18:13:47 +02:00
The height of the “Take it off” button should be the same as “save” button
“m” and “deg” should align with “Position” and “Rotation” text The step size in degrees should be 1 degree
This commit is contained in:
parent
17acb5e106
commit
a4a1ac5d12
1 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue