aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties.reel/sections/position-size.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/properties.reel/sections/position-size.reel')
-rwxr-xr-xjs/panels/properties.reel/sections/position-size.reel/position-size.html9
-rwxr-xr-xjs/panels/properties.reel/sections/position-size.reel/position-size.js41
2 files changed, 45 insertions, 5 deletions
diff --git a/js/panels/properties.reel/sections/position-size.reel/position-size.html b/js/panels/properties.reel/sections/position-size.reel/position-size.html
index 5d1a805a..ccc7a159 100755
--- a/js/panels/properties.reel/sections/position-size.reel/position-size.html
+++ b/js/panels/properties.reel/sections/position-size.reel/position-size.html
@@ -32,7 +32,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
32 "minValue": -10000 32 "minValue": -10000
33 }, 33 },
34 "bindings": { 34 "bindings": {
35 "value": {"<<->": "@owner.leftPosition"} 35 "value": {"<->": "@owner.leftPosition"}
36 } 36 }
37 }, 37 },
38 "PosY": { 38 "PosY": {
@@ -43,7 +43,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
43 "minValue": -10000 43 "minValue": -10000
44 }, 44 },
45 "bindings": { 45 "bindings": {
46 "value": {"<<->": "@owner.topPosition"} 46 "value": {"<->": "@owner.topPosition"}
47 } 47 }
48 }, 48 },
49 49
@@ -53,7 +53,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
53 "element": {"#": "PosH"} 53 "element": {"#": "PosH"}
54 }, 54 },
55 "bindings": { 55 "bindings": {
56 "value": {"<<->": "@owner.heightSize"} 56 "value": {"<->": "@owner.heightSize"}
57 } 57 }
58 }, 58 },
59 59
@@ -65,7 +65,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
65 "units": "px" 65 "units": "px"
66 }, 66 },
67 "bindings": { 67 "bindings": {
68 "value": {"<<->": "@owner.widthSize"} 68 "value": {"<->": "@owner.widthSize"}
69 } 69 }
70 70
71 }, 71 },
@@ -74,7 +74,6 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
74 "properties": { 74 "properties": {
75 "element": {"#": "posBound"}, 75 "element": {"#": "posBound"},
76 "pressedClass": "lockUp", 76 "pressedClass": "lockUp",
77 "preventFocus": true,
78 "identifier": "ratio" 77 "identifier": "ratio"
79 } 78 }
80 } 79 }
diff --git a/js/panels/properties.reel/sections/position-size.reel/position-size.js b/js/panels/properties.reel/sections/position-size.reel/position-size.js
index 7c24e02a..fef2b195 100755
--- a/js/panels/properties.reel/sections/position-size.reel/position-size.js
+++ b/js/panels/properties.reel/sections/position-size.reel/position-size.js
@@ -8,6 +8,47 @@ var Montage = require("montage/core/core").Montage;
8var Component = require("montage/ui/component").Component; 8var Component = require("montage/ui/component").Component;
9 9
10exports.PositionSize = Montage.create(Component, { 10exports.PositionSize = Montage.create(Component, {
11
12 position: {
13 value: null,
14 serializable: true
15 },
16
17 leftLabel: {
18 value: null,
19 serializable: true
20 },
21
22 leftControl: {
23 value: null,
24 serializable: true
25 },
26
27 topLabel: {
28 value: null,
29 serializable: true
30 },
31
32 topControl: {
33 value: null,
34 serializable: true
35 },
36
37 heightControl: {
38 value: null,
39 serializable: true
40 },
41
42 widthControl: {
43 value: null,
44 serializable: true
45 },
46
47 bindButton: {
48 value: null,
49 serializable: true
50 },
51
11 leftPosition: { 52 leftPosition: {
12 value: 0 53 value: 0
13 }, 54 },