diff options
author | Valerio Virgillito | 2012-05-15 16:00:49 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-15 16:00:49 -0700 |
commit | 3be58f9391cc2ef7f1d27ec69c98ea600cb93a22 (patch) | |
tree | 9922b55d039d2583338fa71ed4c5b9b11d955953 /js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html | |
parent | 5df0e78f2eced2fd04a531652f61c42261d97636 (diff) | |
download | ninja-3be58f9391cc2ef7f1d27ec69c98ea600cb93a22.tar.gz |
renaming the position and size component
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 | 124 |
1 files changed, 0 insertions, 124 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 deleted file mode 100755 index 75cb2944..00000000 --- a/js/panels/properties.reel/sections/position-and-size.reel/position-and-size.html +++ /dev/null | |||
@@ -1,124 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <link rel="stylesheet" href="position-and-size.css" type="text/css"> | ||
10 | <script type="text/montage-serialization"> | ||
11 | { | ||
12 | "owner": { | ||
13 | "prototype" : "js/panels/properties.reel/sections/position-and-size.reel[PosSize]", | ||
14 | "properties" : { | ||
15 | "element" : {"#": "section"}, | ||
16 | "position": {"#": "position"}, | ||
17 | "leftLabel": {"#": "labelX"}, | ||
18 | "leftControl": {"@": "PosX"}, | ||
19 | "topLabel": {"#": "labelY"}, | ||
20 | "topControl": {"@": "PosY"}, | ||
21 | "heightControl": {"@": "PosH"}, | ||
22 | "widthControl": {"@": "PosW"}, | ||
23 | "bindButton": {"@": "bindButton"} | ||
24 | } | ||
25 | }, | ||
26 | |||
27 | "PosX": { | ||
28 | "prototype": "js/components/hottextunit.reel[HotTextUnit]", | ||
29 | "properties": { | ||
30 | "element": {"#": "PosX"}, | ||
31 | "maxValue": 10000, | ||
32 | "minValue": -10000 | ||
33 | }, | ||
34 | "bindings": { | ||
35 | "value": {"<<->": "@owner.leftPosition"} | ||
36 | } | ||
37 | }, | ||
38 | "PosY": { | ||
39 | "prototype": "js/components/hottextunit.reel[HotTextUnit]", | ||
40 | "properties": { | ||
41 | "element": {"#": "PosY"}, | ||
42 | "maxValue": 10000, | ||
43 | "minValue": -10000 | ||
44 | }, | ||
45 | "bindings": { | ||
46 | "value": {"<<->": "@owner.topPosition"} | ||
47 | } | ||
48 | }, | ||
49 | "PosH": { | ||
50 | "prototype": "js/components/hottextunit.reel[HotTextUnit]", | ||
51 | "properties": { | ||
52 | "element": {"#": "PosH"} | ||
53 | }, | ||
54 | "bindings": { | ||
55 | "value": {"<<->": "@owner.heightSize"} | ||
56 | } | ||
57 | }, | ||
58 | "PosW": { | ||
59 | "prototype": "js/components/hottextunit.reel[HotTextUnit]", | ||
60 | "properties": { | ||
61 | "element": {"#": "PosW"}, | ||
62 | "acceptableUnits" : ["px", "%"], | ||
63 | "units": "px" | ||
64 | }, | ||
65 | "bindings": { | ||
66 | "value": {"<<->": "@owner.widthSize"} | ||
67 | } | ||
68 | |||
69 | }, | ||
70 | "bindButton": { | ||
71 | "prototype": "montage/ui/toggle-button.reel", | ||
72 | "properties": { | ||
73 | "element": {"#": "posBound"}, | ||
74 | "pressedClass": "lockUp", | ||
75 | "preventFocus": true, | ||
76 | "identifier": "ratio" | ||
77 | } | ||
78 | } | ||
79 | } | ||
80 | </script> | ||
81 | </head> | ||
82 | <body> | ||
83 | <div data-montage-id="section" class="sectional"> | ||
84 | <section data-montage-id="position" class="fieldCol"> | ||
85 | <label data-montage-id="labelX">Left:</label> | ||
86 | <article class="fieldRow twoCol"> | ||
87 | <div> | ||
88 | <div class="inputField"> | ||
89 | <div data-montage-id="PosX"></div> | ||
90 | </div> | ||
91 | </div> | ||
92 | <div> | ||
93 | <div> | ||
94 | <label data-montage-id="labelY">Top:</label> | ||
95 | </div> | ||
96 | <div class="inputField"> | ||
97 | <div data-montage-id="PosY"></div> | ||
98 | </div> | ||
99 | </div> | ||
100 | </article> | ||
101 | </section> | ||
102 | <hr /> | ||
103 | <section class="fieldCol"> | ||
104 | <button data-montage-id="posBound" id="posBound" class="unlock"></button> | ||
105 | <label>Width:</label> | ||
106 | <article class="fieldRow twoCol"> | ||
107 | <div> | ||
108 | <div class="inputField"> | ||
109 | <div data-montage-id="PosW"></div> | ||
110 | </div> | ||
111 | </div> | ||
112 | <div> | ||
113 | <div> | ||
114 | <label>Height:</label> | ||
115 | </div> | ||
116 | <div class="inputField"> | ||
117 | <div data-montage-id="PosH"></div> | ||
118 | </div> | ||
119 | </div> | ||
120 | </article> | ||
121 | </section> | ||
122 | </div> | ||
123 | </body> | ||
124 | </html> \ No newline at end of file | ||