You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/09/25 18:04:18 UTC

[36/50] git commit: [flex-asjs] [refs/heads/develop] - make closebutton smaller. Still ugly

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 <ah...@apache.org>
Authored: Tue Sep 23 14:34:20 2014 -0700
Committer: Alex Harui <ah...@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;
 };