flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [36/50] git commit: [flex-asjs] [refs/heads/develop] - make closebutton smaller. Still ugly
Date Thu, 25 Sep 2014 16:04:18 GMT
make closebutton smaller.  Still ugly


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

Branch: refs/heads/develop
Commit: b5d9be82acac99893dd0e245f7efec277e61495e
Parents: f7868c5
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 23 14:34:20 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 23 15:01:30 2014 -0700

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b5d9be82/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js b/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
index 4f52584..9e3207e 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/CloseButton.js
@@ -47,6 +47,9 @@ org.apache.flex.html.CloseButton.prototype.createElement =
   org.apache.flex.html.CloseButton.base(this, 'createElement');
   this.element.innerHTML = 'x';
 
+  this.element.style.padding = 0;
+  this.set_height(11);
+  this.set_width(11);
   return this.element;
 };
 


Mime
View raw message