diff options
author | Valerio Virgillito | 2012-03-19 18:11:50 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-19 18:11:50 -0700 |
commit | 313354a8ff9ed21b826ab5f280bcf1095a64a7f4 (patch) | |
tree | 39467da83116102c4b869934b2bc36fc64214b22 /js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html | |
parent | afe4b3d6567a35586e970682d71cba61c416e496 (diff) | |
download | ninja-313354a8ff9ed21b826ab5f280bcf1095a64a7f4.tar.gz |
fully removing our old button component from Ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html')
-rwxr-xr-x | js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html b/js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html index 6e355f31..f50724c5 100755 --- a/js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html +++ b/js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html | |||
@@ -85,13 +85,12 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
85 | } | 85 | } |
86 | }, | 86 | }, |
87 | "bindButton": { | 87 | "bindButton": { |
88 | "module": "js/components/button.reel", | 88 | "prototype": "montage/ui/toggle-button.reel", |
89 | "name": "Button", | ||
90 | "properties": { | 89 | "properties": { |
91 | "element": {"#" :"posBound"}, | 90 | "element": {"#": "posBound"}, |
92 | "isToggleButton": true, | 91 | "pressedClass": "lockUp", |
93 | "onState": "LockToolUp", | 92 | "preventFocus": true, |
94 | "offState": "UnLockToolUp" | 93 | "identifier": "ratio" |
95 | } | 94 | } |
96 | } | 95 | } |
97 | } | 96 | } |
@@ -119,7 +118,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
119 | </section> | 118 | </section> |
120 | <hr /> | 119 | <hr /> |
121 | <section class="fieldCol"> | 120 | <section class="fieldCol"> |
122 | <button id="posBound"></button> | 121 | <button id="posBound" class="unlock"></button> |
123 | <label>Width:</label> | 122 | <label>Width:</label> |
124 | <article class="fieldRow twoCol"> | 123 | <article class="fieldRow twoCol"> |
125 | <div> | 124 | <div> |