flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - The viewport for ButtonBar fills the entire space.
Date Tue, 08 Sep 2015 15:00:11 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 91e3f12c8 -> 2c53b26a0


The viewport for ButtonBar fills the entire space.


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

Branch: refs/heads/develop
Commit: 2c53b26a0009170c95d05140cef8d181bb8363f7
Parents: 91e3f12
Author: Peter Ent <pent@apache.org>
Authored: Tue Sep 8 10:59:58 2015 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Tue Sep 8 10:59:58 2015 -0400

----------------------------------------------------------------------
 .../js/src/org/apache/flex/html/beads/ButtonBarView.js   | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2c53b26a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
index 1585cbb..52ed8f1 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js
@@ -35,6 +35,17 @@ goog.inherits(
 
 
 /**
+ * @override
+ */
+org.apache.flex.html.beads.ButtonBarView.
+    prototype.layoutViewBeforeContentLayout = function() {
+  var host = this._strand;
+  this.viewport.setPosition(0, 0);
+  this.viewport.layoutViewportBeforeContentLayout(host.width, host.height);
+};
+
+
+/**
  * Metadata
  *
  * @type {Object.<string, Array.<Object>>}


Mime
View raw message