Showing the changes to scripts/developer (1 of 1 file). Show all
Unified · Split
| @@ -152,12 +152,7 @@ Rectangle { · 151 unmodified lines | ||
| 152 | 152 | spacing: 3 |
| 153 | 153 | width: root_col.width |
| 154 | 154 | |
| 155 | − HifiControls.CheckBox { | |
| 156 | − text: "Invert" | |
| 157 | − boxSize: 20 | |
| 158 | − checked: root.config["isInverted"] | |
| 159 | − onCheckedChanged: { root.config["isInverted"] = checked } | |
| 160 | − } | |
| 155 | + | |
| 161 | 156 | RowLayout { |
| 162 | 157 | Layout.fillWidth: true |
| 163 | 158 | |
| @@ -219,16 +214,32 @@ Rectangle { · 55 unmodified lines | ||
| 219 | 214 | } |
| 220 | 215 | } |
| 221 | 216 | |
| 222 | − | |
| 223 | − ConfigSlider { | |
| 217 | + RowLayout { | |
| 218 | + spacing: 20 | |
| 224 | 219 | 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 | + } | |
| 231 | 240 | } |
| 241 | + | |
| 242 | + | |
| 232 | 243 | RowLayout { |
| 233 | 244 | Layout.fillWidth: true |
| 234 | 245 | |