You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2016/10/26 13:54:04 UTC

[02/23] git commit: [flex-asjs] [refs/heads/refactor-sprite] - add default property for TextButton

add default property for TextButton


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9f510bc0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9f510bc0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9f510bc0

Branch: refs/heads/refactor-sprite
Commit: 9f510bc0f07ea5defe5a4ce2521171eb877a1d0c
Parents: 83804e4
Author: Alex Harui <ah...@apache.org>
Authored: Sat Oct 15 23:23:07 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Oct 15 23:23:50 2016 -0700

----------------------------------------------------------------------
 .../projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9f510bc0/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
index ec052c7..b2997c2 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/TextButton.as
@@ -24,6 +24,8 @@ package org.apache.flex.html
 		import org.apache.flex.core.WrappedHTMLElement;
 	}
 
+    [DefaultProperty("text")]
+        
     /**
      *  The TextButton class implements a basic button that
      *  displays text.