royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [royale-asjs] branch develop updated: fix TextField to use ClassSelectorList
Date Tue, 24 Apr 2018 15:42:46 GMT
This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1333085  fix TextField to use ClassSelectorList
1333085 is described below

commit 13330852c16e9f744bcd06517e848d8822802489
Author: Carlos Rovira <carlosrovira@apache.org>
AuthorDate: Tue Apr 24 17:42:40 2018 +0200

    fix TextField to use ClassSelectorList
---
 .../src/main/royale/org/apache/royale/jewel/TextField.as      | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/TextField.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/TextField.as
index 523b98d..039e5a3 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/TextField.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/TextField.as
@@ -18,6 +18,7 @@
 package org.apache.royale.jewel
 {
     import org.apache.royale.jewel.supportClasses.TextFieldBase;
+    import org.apache.royale.utils.ClassSelectorList;
 
     COMPILE::JS
     {
@@ -50,9 +51,19 @@ package org.apache.royale.jewel
 		{
 			super();
 
+            classSelectorList = new ClassSelectorList(this);
+
             typeNames = "jewel textfield";
 		}
 
+        protected var classSelectorList:ClassSelectorList;
+
+        COMPILE::JS
+        override protected function setClassName(value:String):void
+        {
+            classSelectorList.addNames(value);
+        }
+
         COMPILE::JS
 		private var _positioner:WrappedHTMLElement;
 

-- 
To stop receiving notification emails like this one, please contact
carlosrovira@apache.org.

Mime
View raw message