diff options
Diffstat (limited to 'js/components/tools-properties/text-properties.reel/text-properties.html')
-rwxr-xr-x | js/components/tools-properties/text-properties.reel/text-properties.html | 326 |
1 files changed, 110 insertions, 216 deletions
diff --git a/js/components/tools-properties/text-properties.reel/text-properties.html b/js/components/tools-properties/text-properties.reel/text-properties.html index 7ded1236..fb57c06d 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.html +++ b/js/components/tools-properties/text-properties.reel/text-properties.html | |||
@@ -33,8 +33,8 @@ | |||
33 | "alignCenter": {"@": "alignCenter"}, | 33 | "alignCenter": {"@": "alignCenter"}, |
34 | "alignRight": {"@": "alignRight"}, | 34 | "alignRight": {"@": "alignRight"}, |
35 | "alignJustify": {"@": "alignJustify"}, | 35 | "alignJustify": {"@": "alignJustify"}, |
36 | "indent": {"@": "indent"}, | 36 | "indentRight": {"@": "indentRight"}, |
37 | "outdent": {"@": "outdent"}, | 37 | "indentLeft": {"@": "indentLeft"}, |
38 | "numberedList": {"@": "numberedList"}, | 38 | "numberedList": {"@": "numberedList"}, |
39 | "bulletedList": {"@": "bulletedList"} | 39 | "bulletedList": {"@": "bulletedList"} |
40 | } | 40 | } |
@@ -57,16 +57,8 @@ | |||
57 | "module": "js/components/combobox.reel", | 57 | "module": "js/components/combobox.reel", |
58 | "name": "Combobox", | 58 | "name": "Combobox", |
59 | "properties": { | 59 | "properties": { |
60 | "element": {"#": "fontSelection"}, | 60 | "element": {"#": "fontSelection"} |
61 | "identifier": "fontSelection" | 61 | } |
62 | }, | ||
63 | "listeners": [ | ||
64 | { | ||
65 | "type": "change", | ||
66 | "listener": {"@": "owner"} | ||
67 | } | ||
68 | ] | ||
69 | |||
70 | }, | 62 | }, |
71 | "fontSettings": { | 63 | "fontSettings": { |
72 | "module": "js/components/button.reel", | 64 | "module": "js/components/button.reel", |
@@ -77,226 +69,131 @@ | |||
77 | }, | 69 | }, |
78 | 70 | ||
79 | "fontSize": { | 71 | "fontSize": { |
80 | "module": "js/components/combobox.reel", | 72 | "module": "js/components/hottextunit.reel", |
81 | "name": "Combobox", | 73 | "name": "HotTextUnit", |
82 | "properties": { | 74 | "properties": { |
83 | "element": {"#": "fontSize"}, | 75 | "element": {"#": "fontSize"} |
84 | "identifier": "fontSize" | 76 | } |
85 | }, | 77 | }, |
86 | "listeners": [ | ||
87 | { | ||
88 | "type": "change", | ||
89 | "listener": {"@": "owner"} | ||
90 | } | ||
91 | ] | ||
92 | 78 | ||
79 | "fontColor": { | ||
80 | "module": "js/components/button.reel", | ||
81 | "name": "Button", | ||
82 | "properties": { | ||
83 | "element": {"#": "fontColor"} | ||
84 | } | ||
93 | }, | 85 | }, |
94 | |||
95 | "btnBold": { | 86 | "btnBold": { |
96 | "module": "montage/ui/toggle-button.reel", | 87 | "module": "js/components/button.reel", |
97 | "name": "ToggleButton", | 88 | "name": "Button", |
98 | "properties": { | 89 | "properties": { |
99 | "element": {"#": "btnBold"}, | 90 | "element": {"#": "btnBold"}, |
100 | "pressedClass": "active", | 91 | "_isToggleButton": true |
101 | "preventFocus": true, | 92 | } |
102 | "identifier": "btnBold", | ||
103 | "label": "B" | ||
104 | }, | ||
105 | "listeners": [ | ||
106 | { | ||
107 | "type": "action", | ||
108 | "listener": {"@": "owner"} | ||
109 | } | ||
110 | ] | ||
111 | }, | 93 | }, |
112 | "btnItalic": { | 94 | "btnItalic": { |
113 | "module": "montage/ui/toggle-button.reel", | 95 | "module": "js/components/button.reel", |
114 | "name": "ToggleButton", | 96 | "name": "Button", |
115 | "properties": { | 97 | "properties": { |
116 | "element": {"#": "btnItalic"}, | 98 | "element": {"#": "btnItalic"}, |
117 | "pressedClass": "active", | 99 | "_isToggleButton": true |
118 | "preventFocus": true, | 100 | } |
119 | "identifier": "btnItalic", | ||
120 | "label": "I" | ||
121 | }, | ||
122 | "listeners": [ | ||
123 | { | ||
124 | "type": "action", | ||
125 | "listener": {"@": "owner"} | ||
126 | } | ||
127 | ] | ||
128 | }, | 101 | }, |
129 | "btnUnderline": { | 102 | "btnUnderline": { |
130 | "module": "montage/ui/toggle-button.reel", | 103 | "module": "js/components/button.reel", |
131 | "name": "ToggleButton", | 104 | "name": "Button", |
132 | "properties": { | 105 | "properties": { |
133 | "element": {"#": "btnUnderline"}, | 106 | "element": {"#": "btnUnderline"}, |
134 | "pressedClass": "active", | 107 | "_isToggleButton": true |
135 | "preventFocus": true, | 108 | } |
136 | "identifier": "btnUnderline", | ||
137 | "label": "U" | ||
138 | }, | ||
139 | "listeners": [ | ||
140 | { | ||
141 | "type": "action", | ||
142 | "listener": {"@": "owner"} | ||
143 | } | ||
144 | ] | ||
145 | }, | 109 | }, |
146 | "btnStrikethrough": { | 110 | "btnStrikethrough": { |
147 | "module": "montage/ui/toggle-button.reel", | 111 | "module": "js/components/button.reel", |
148 | "name": "ToggleButton", | 112 | "name": "Button", |
149 | "properties": { | 113 | "properties": { |
150 | "element": {"#": "btnStrikethrough"}, | 114 | "element": {"#": "btnStrikethrough"}, |
151 | "pressedClass": "active", | 115 | "_isToggleButton": true |
152 | "preventFocus": true, | 116 | } |
153 | "identifier": "btnStrikethrough", | ||
154 | "label": "S" | ||
155 | }, | ||
156 | "listeners": [ | ||
157 | { | ||
158 | "type": "action", | ||
159 | "listener": {"@": "owner"} | ||
160 | } | ||
161 | ] | ||
162 | }, | 117 | }, |
163 | 118 | "txtLink": { | |
119 | "module": "js/components/textfield.reel", | ||
120 | "name": "TextField", | ||
121 | "properties": { | ||
122 | "element": {"#": "txtLink"} | ||
123 | } | ||
124 | }, | ||
125 | "linkTarget": { | ||
126 | "module": "js/components/combobox.reel", | ||
127 | "name": "Combobox", | ||
128 | "properties": { | ||
129 | "element": {"#": "linkTarget"} | ||
130 | } | ||
131 | }, | ||
132 | |||
164 | "alignLeft": { | 133 | "alignLeft": { |
165 | "module": "montage/ui/toggle-button.reel", | 134 | "module": "js/components/button.reel", |
166 | "name": "ToggleButton", | 135 | "name": "Button", |
167 | "properties": { | 136 | "properties": { |
168 | "element": {"#": "alignLeft"}, | 137 | "element": {"#": "alignLeft"} |
169 | "pressedClass": "active", | 138 | } |
170 | "preventFocus": true, | ||
171 | "identifier": "alignLeft", | ||
172 | "label": "Left" | ||
173 | }, | ||
174 | "listeners": [ | ||
175 | { | ||
176 | "type": "action", | ||
177 | "listener": {"@": "owner"} | ||
178 | } | ||
179 | ] | ||
180 | }, | 139 | }, |
181 | "alignCenter": { | 140 | "alignCenter": { |
182 | "module": "montage/ui/toggle-button.reel", | 141 | "module": "js/components/button.reel", |
183 | "name": " |