History

Moved gradient invert checkbox

Olivier Prat committed 8 years ago

Commit 07cb1c11 parent 3c8cd481 file · +25 −14Browse files

Showing the changes to scripts/developer (1 of 1 file). Show all

Unified · Split

scripts/developer/utilities/render/transition.qml+25−14
@@ -152,12 +152,7 @@ Rectangle { · 151 unmodified lines
152152 spacing: 3
153153 width: root_col.width
154154
155− HifiControls.CheckBox {
156− text: "Invert"
157− boxSize: 20
158− checked: root.config["isInverted"]
159− onCheckedChanged: { root.config["isInverted"] = checked }
160− }
155+
161156 RowLayout {
162157 Layout.fillWidth: true
163158
@@ -219,16 +214,32 @@ Rectangle { · 55 unmodified lines
219214 }
220215 }
221216
222−
223− ConfigSlider {
217+ RowLayout {
218+ spacing: 20
224219 height: 36
225− label: "Edge Width"
226− integral: false
227− config: root.config
228− property: "edgeWidth"
229− max: 1.0
230− min: 0.0
220+
221+ HifiControls.CheckBox {
222+ text: "Invert gradient"
223+ anchors.verticalCenter: parent.verticalCenter
224+ boxSize: 20
225+ checked: root.config["isInverted"]
226+ onCheckedChanged: { root.config["isInverted"] = checked }
227+ }
228+ ConfigSlider {
229+ anchors.left: undefined
230+ anchors.verticalCenter: parent.verticalCenter
231+ height: 36
232+ width: 300
233+ label: "Edge Width"
234+ integral: false
235+ config: root.config
236+ property: "edgeWidth"
237+ max: 1.0
238+ min: 0.0
239+ }
231240 }
241+
242+
232243 RowLayout {
233244 Layout.fillWidth: true
234245