mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 23:53:48 +02:00
Moved gradient invert checkbox
This commit is contained in:
parent
3c8cd48dfb
commit
07cb1c1f9e
1 changed files with 25 additions and 14 deletions
|
@ -152,12 +152,7 @@ Rectangle {
|
|||
spacing: 3
|
||||
width: root_col.width
|
||||
|
||||
HifiControls.CheckBox {
|
||||
text: "Invert"
|
||||
boxSize: 20
|
||||
checked: root.config["isInverted"]
|
||||
onCheckedChanged: { root.config["isInverted"] = checked }
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
@ -219,16 +214,32 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
ConfigSlider {
|
||||
RowLayout {
|
||||
spacing: 20
|
||||
height: 36
|
||||
label: "Edge Width"
|
||||
integral: false
|
||||
config: root.config
|
||||
property: "edgeWidth"
|
||||
max: 1.0
|
||||
min: 0.0
|
||||
|
||||
HifiControls.CheckBox {
|
||||
text: "Invert gradient"
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
boxSize: 20
|
||||
checked: root.config["isInverted"]
|
||||
onCheckedChanged: { root.config["isInverted"] = checked }
|
||||
}
|
||||
ConfigSlider {
|
||||
anchors.left: undefined
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
height: 36
|
||||
width: 300
|
||||
label: "Edge Width"
|
||||
integral: false
|
||||
config: root.config
|
||||
property: "edgeWidth"
|
||||
max: 1.0
|
||||
min: 0.0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue