From 8966fc4903f0eec61816d9b9bdbcac9b7d99c320 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Mon, 2 Jul 2012 13:19:00 -0700 Subject: Bug: Font Name & Size not updating text tool Signed-off-by: Armen Kesablyan --- .../text-properties.reel/text-properties.css | 4 + .../text-properties.reel/text-properties.html | 120 +++++----- .../text-properties.reel/text-properties.js | 261 +++++---------------- 3 files changed, 112 insertions(+), 273 deletions(-) (limited to 'js/components/tools-properties/text-properties.reel') diff --git a/js/components/tools-properties/text-properties.reel/text-properties.css b/js/components/tools-properties/text-properties.reel/text-properties.css index 586cdcd5..7ab3ae9a 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.css +++ b/js/components/tools-properties/text-properties.reel/text-properties.css @@ -39,6 +39,10 @@ width: 160px; } +.optionsTextTool .montage-button:hover { + color:#FFF; +} + .fontColorChipContainer { margin-left: 10px !important; margin-right: 0px; 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 8899ff3c..6a94cf0a 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.html +++ b/js/components/tools-properties/text-properties.reel/text-properties.html @@ -11,79 +11,87 @@ + } + -- cgit v1.2.3 From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:53:10 -0700 Subject: Remove trailing spaces --- .../tools-properties/text-properties.reel/text-properties.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/tools-properties/text-properties.reel') diff --git a/js/components/tools-properties/text-properties.reel/text-properties.js b/js/components/tools-properties/text-properties.reel/text-properties.js index 0cfa6c4c..a3adbb1d 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.js +++ b/js/components/tools-properties/text-properties.reel/text-properties.js @@ -87,7 +87,7 @@ exports.TextProperties = Montage.create(ToolProperties, { // { value: 7, text: "36pt" } // ]; // this.fontSize.contentController = this.fontSizes; - + this.fontSelection.items = ["Arial", "Arial Black", "Courier New", "Garamond", "Georgia", "Open Sans", "Tahoma", "Times New Roman", "Trebuchet MS", "Verdana"]; this.fontSize.items = ["8pt","10pt","12pt","14pt","18pt","24pt","36pt"]; this.tagType.items = ["div", "span", "p", "section", "article", "h1", "h2", "h3", "h4", "h5", "h6"]; @@ -120,7 +120,7 @@ exports.TextProperties = Montage.create(ToolProperties, { } }, - + handleAlignLeftAction: { value: function(e) { //this.alignLeft.value = false; -- cgit v1.2.3 From 6803c0abd279fcb640c38b3881b751bab982cbe0 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:42:16 -0700 Subject: Remove trailing spaces --- .../tools-properties/text-properties.reel/text-properties.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/tools-properties/text-properties.reel') 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 6465227f..a8b27c2f 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.html +++ b/js/components/tools-properties/text-properties.reel/text-properties.html @@ -107,7 +107,7 @@ POSSIBILITY OF SUCH DAMAGE. ] }, - + "btnBold": { "prototype": "montage/ui/toggle-button.reel", "properties": { @@ -167,7 +167,7 @@ POSSIBILITY OF SUCH DAMAGE. } ] }, - + "alignLeft": { "prototype": "montage/ui/toggle-button.reel", "properties": { -- cgit v1.2.3 From 9461e7731f91dd03a15b0a62667e722a60c84721 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:44:57 -0700 Subject: Remove byte order markers (BOM) --- .../tools-properties/text-properties.reel/text-properties.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/tools-properties/text-properties.reel') 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 a8b27c2f..ae76cb1d 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.html +++ b/js/components/tools-properties/text-properties.reel/text-properties.html @@ -1,4 +1,4 @@ - +