Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5837617C3C for ; Tue, 8 Sep 2015 15:00:12 +0000 (UTC) Received: (qmail 82820 invoked by uid 500); 8 Sep 2015 15:00:12 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 82798 invoked by uid 500); 8 Sep 2015 15:00:12 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 82790 invoked by uid 99); 8 Sep 2015 15:00:12 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 15:00:12 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D5A6FDFF7E; Tue, 8 Sep 2015 15:00:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pent@apache.org To: commits@flex.apache.org Message-Id: <31d7b1492bf94de495ff346451f77742@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - The viewport for ButtonBar fills the entire space. Date: Tue, 8 Sep 2015 15:00:11 +0000 (UTC) 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 Authored: Tue Sep 8 10:59:58 2015 -0400 Committer: Peter Ent 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.>}