mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:23:33 +02:00
Fix visibility of values in Wearables dialog
This commit is contained in:
parent
72d931688c
commit
8494e6e6b5
3 changed files with 6 additions and 8 deletions
|
@ -109,7 +109,7 @@ SpinBox {
|
||||||
id: spinboxText
|
id: spinboxText
|
||||||
z: 2
|
z: 2
|
||||||
color: isLightColorScheme
|
color: isLightColorScheme
|
||||||
? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.faintGray)
|
? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.baseGrayHighlight)
|
||||||
: (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText)
|
: (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText)
|
||||||
selectedTextColor: hifi.colors.black
|
selectedTextColor: hifi.colors.black
|
||||||
selectionColor: hifi.colors.primaryHighlight
|
selectionColor: hifi.colors.primaryHighlight
|
||||||
|
@ -130,7 +130,7 @@ SpinBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
color: isLightColorScheme
|
color: isLightColorScheme
|
||||||
? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.faintGray)
|
? (spinBox.activeFocus ? hifi.colors.black : hifi.colors.baseGrayHighlight)
|
||||||
: (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText)
|
: (spinBox.activeFocus ? hifi.colors.white : hifi.colors.lightGrayText)
|
||||||
text: suffix
|
text: suffix
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
|
|
|
@ -403,7 +403,6 @@ Rectangle {
|
||||||
|
|
||||||
Vector3 {
|
Vector3 {
|
||||||
id: positionVector
|
id: positionVector
|
||||||
backgroundColor: "lightgray"
|
|
||||||
enabled: getCurrentWearable() !== null
|
enabled: getCurrentWearable() !== null
|
||||||
|
|
||||||
function set(localPosition) {
|
function set(localPosition) {
|
||||||
|
@ -463,7 +462,6 @@ Rectangle {
|
||||||
|
|
||||||
Vector3 {
|
Vector3 {
|
||||||
id: rotationVector
|
id: rotationVector
|
||||||
backgroundColor: "lightgray"
|
|
||||||
enabled: getCurrentWearable() !== null
|
enabled: getCurrentWearable() !== null
|
||||||
|
|
||||||
function set(localRotationAngles) {
|
function set(localRotationAngles) {
|
||||||
|
@ -550,7 +548,7 @@ Rectangle {
|
||||||
realFrom: 0.1
|
realFrom: 0.1
|
||||||
realTo: 3.0
|
realTo: 3.0
|
||||||
realValue: 1.0
|
realValue: 1.0
|
||||||
backgroundColor: "lightgray"
|
backgroundColor: activeFocus ? "white" : "lightgray"
|
||||||
width: positionVector.spinboxWidth
|
width: positionVector.spinboxWidth
|
||||||
colorScheme: hifi.colorSchemes.light
|
colorScheme: hifi.colorSchemes.light
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ Row {
|
||||||
id: xspinner
|
id: xspinner
|
||||||
width: parent.spinboxWidth
|
width: parent.spinboxWidth
|
||||||
labelInside: "X:"
|
labelInside: "X:"
|
||||||
backgroundColor: parent.backgroundColor
|
backgroundColor: activeFocus ? "white" : "lightgray"
|
||||||
colorLabelInside: hifi.colors.redHighlight
|
colorLabelInside: hifi.colors.redHighlight
|
||||||
colorScheme: hifi.colorSchemes.light
|
colorScheme: hifi.colorSchemes.light
|
||||||
decimals: root.decimals;
|
decimals: root.decimals;
|
||||||
|
@ -43,7 +43,7 @@ Row {
|
||||||
id: yspinner
|
id: yspinner
|
||||||
width: parent.spinboxWidth
|
width: parent.spinboxWidth
|
||||||
labelInside: "Y:"
|
labelInside: "Y:"
|
||||||
backgroundColor: parent.backgroundColor
|
backgroundColor: activeFocus ? "white" : "lightgray"
|
||||||
colorLabelInside: hifi.colors.greenHighlight
|
colorLabelInside: hifi.colors.greenHighlight
|
||||||
colorScheme: hifi.colorSchemes.light
|
colorScheme: hifi.colorSchemes.light
|
||||||
decimals: root.decimals;
|
decimals: root.decimals;
|
||||||
|
@ -57,7 +57,7 @@ Row {
|
||||||
id: zspinner
|
id: zspinner
|
||||||
width: parent.spinboxWidth
|
width: parent.spinboxWidth
|
||||||
labelInside: "Z:"
|
labelInside: "Z:"
|
||||||
backgroundColor: parent.backgroundColor
|
backgroundColor: activeFocus ? "white" : "lightgray"
|
||||||
colorLabelInside: hifi.colors.primaryHighlight
|
colorLabelInside: hifi.colors.primaryHighlight
|
||||||
colorScheme: hifi.colorSchemes.light
|
colorScheme: hifi.colorSchemes.light
|
||||||
decimals: root.decimals;
|
decimals: root.decimals;
|
||||||
|
|
Loading…
Reference in a new issue