Showing the changes to scripts/developer (1 of 1 file). Show all
Unified · Split
| @@ -152,12 +152,7 @@ Rectangle { · 151 unmodified lines | |||
| 152 | spacing: 3 | 152 | spacing: 3 |
| 153 | width: root_col.width | 153 | 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: true | 157 | 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: 36 | 219 | height: 36 |
| 225 | label: "Edge Width" | 220 | |
| 226 | integral: false | 221 | HifiControls.CheckBox { |
| 227 | config: root.config | 222 | text: "Invert gradient" |
| 228 | property: "edgeWidth" | 223 | anchors.verticalCenter: parent.verticalCenter |
| 229 | max: 1.0 | 224 | boxSize: 20 |
| 230 | min: 0.0 | 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 | RowLayout { | 243 | RowLayout { |
| 233 | Layout.fillWidth: true | 244 | Layout.fillWidth: true |
| 234 | 245 | ||