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
152 spacing: 3152 spacing: 3
153 width: root_col.width153 width: root_col.width
154 154
155 HifiControls.CheckBox {155
156 text: "Invert"
157 boxSize: 20
158 checked: root.config["isInverted"]
159 onCheckedChanged: { root.config["isInverted"] = checked }
160 }
161 RowLayout {156 RowLayout {
162 Layout.fillWidth: true157 Layout.fillWidth: true
163 158
@@ -219,16 +214,32 @@ Rectangle { · 55 unmodified lines
219 }214 }
220 }215 }
221 216
222 217 RowLayout {
223 ConfigSlider {218 spacing: 20
224 height: 36219 height: 36
225 label: "Edge Width"220
226 integral: false221 HifiControls.CheckBox {
227 config: root.config222 text: "Invert gradient"
228 property: "edgeWidth"223 anchors.verticalCenter: parent.verticalCenter
229 max: 1.0224 boxSize: 20
230 min: 0.0225 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 }
231 }240 }
241
242
232 RowLayout {243 RowLayout {
233 Layout.fillWidth: true244 Layout.fillWidth: true
234 245