You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2013/05/29 20:56:10 UTC

git commit: [flex-asjs] [refs/heads/develop] - Positions the close button on the right side of the title bar.

Updated Branches:
  refs/heads/develop b1ece45de -> 1451dceee


Positions the close button on the right side of the title bar.


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

Branch: refs/heads/develop
Commit: 1451dceee74557214bec885026dcaafb296117d9
Parents: b1ece45
Author: Peter Ent <pe...@apache.org>
Authored: Wed May 29 14:56:09 2013 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed May 29 14:56:09 2013 -0400

----------------------------------------------------------------------
 .../apache/flex/html/staticControls/TitleBar.js    |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1451dcee/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/TitleBar.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/TitleBar.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/TitleBar.js
index 39f1949..8b9a45c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/TitleBar.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/TitleBar.js
@@ -53,9 +53,8 @@ org.apache.flex.html.staticControls.TitleBar.prototype.addToParent =
   this.titleButton.addToParent(this);
   this.titleButton.text = 'Close';
   this.titleButton.positioner.style.display = this._showCloseButton ? "inline-block" : "none";
-  
-  //this.element.appendChild(this.titleLabel);
-  //this.element.appendChild(this.titleButton);
+  this.titleButton.positioner.style.position = "absolute";
+  this.titleButton.positioner.style.right = "0px";
 
   p.internalAddChild(this.element);