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 2015/05/23 01:04:28 UTC

[09/15] git commit: [flex-asjs] [refs/heads/develop] - TitleBar needs to have a position so children are relative to it

TitleBar needs to have a position so children are relative to it


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

Branch: refs/heads/develop
Commit: a23a860e105187209b95f42c6f0b581e92b70d44
Parents: 1f02405
Author: Alex Harui <ah...@apache.org>
Authored: Fri May 22 15:29:16 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri May 22 16:04:12 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a23a860e/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
index 5a8b087..02bfc00 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
@@ -52,6 +52,7 @@ org_apache_flex_html_TitleBar.prototype.createElement =
   this.element = document.createElement('div');
 
   this.positioner = this.element;
+  this.positioner.style.position = 'relative';
   this.element.flexjs_wrapper = this;
 
   this.className = 'TitleBar';