mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 12:09:52 +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
|
spacing: 3
|
||||||
width: root_col.width
|
width: root_col.width
|
||||||
|
|
||||||
HifiControls.CheckBox {
|
|
||||||
text: "Invert"
|
|
||||||
boxSize: 20
|
|
||||||
checked: root.config["isInverted"]
|
|
||||||
onCheckedChanged: { root.config["isInverted"] = checked }
|
|
||||||
}
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
@ -219,16 +214,32 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RowLayout {
|
||||||
ConfigSlider {
|
spacing: 20
|
||||||
height: 36
|
height: 36
|
||||||
label: "Edge Width"
|
|
||||||
integral: false
|
HifiControls.CheckBox {
|
||||||
config: root.config
|
text: "Invert gradient"
|
||||||
property: "edgeWidth"
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
max: 1.0
|
boxSize: 20
|
||||||
min: 0.0
|
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 {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue