From commits-return-22284-apmail-flex-commits-archive=flex.apache.org@flex.apache.org Tue Sep 8 15:22:54 2015 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 212EA17D09 for ; Tue, 8 Sep 2015 15:22:54 +0000 (UTC) Received: (qmail 52822 invoked by uid 500); 8 Sep 2015 15:21:55 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 52801 invoked by uid 500); 8 Sep 2015 15:21:55 -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 52792 invoked by uid 99); 8 Sep 2015 15:21:55 -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:21:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 73FE9DFC92; Tue, 8 Sep 2015 15:21:55 +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: <70a4a261cd0f4dcca1f2913382d87f0c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - Oops. Did not realize layoutViewBeforeContentLayout had a side effect of setting border metrics in the viewport model. Date: Tue, 8 Sep 2015 15:21:55 +0000 (UTC) Repository: flex-asjs Updated Branches: refs/heads/develop 2c53b26a0 -> d07a374b7 Oops. Did not realize layoutViewBeforeContentLayout had a side effect of setting border metrics in the viewport model. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d07a374b Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d07a374b Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d07a374b Branch: refs/heads/develop Commit: d07a374b7b3abd435d6f286c0ade1b52163d9632 Parents: 2c53b26 Author: Peter Ent Authored: Tue Sep 8 11:21:53 2015 -0400 Committer: Peter Ent Committed: Tue Sep 8 11:21:53 2015 -0400 ---------------------------------------------------------------------- .../HTML/js/src/org/apache/flex/html/beads/ButtonBarView.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d07a374b/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 52ed8f1..b65965f 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 @@ -40,6 +40,9 @@ goog.inherits( org.apache.flex.html.beads.ButtonBarView. prototype.layoutViewBeforeContentLayout = function() { var host = this._strand; + var vm = this.viewportModel; + vm.borderMetrics = org.apache.flex.utils.CSSContainerUtils.getBorderMetrics(host); + vm.chromeMetrics = this.getChromeMetrics(); this.viewport.setPosition(0, 0); this.viewport.layoutViewportBeforeContentLayout(host.width, host.height); };