Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84ED4104A0 for ; Mon, 10 Mar 2014 18:42:40 +0000 (UTC) Received: (qmail 71045 invoked by uid 500); 10 Mar 2014 18:42:40 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 71019 invoked by uid 500); 10 Mar 2014 18:42:39 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 70717 invoked by uid 99); 10 Mar 2014 18:42:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 18:42:37 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 18:42:33 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WN591-0001Ht-CE for users@flex.apache.org; Mon, 10 Mar 2014 11:41:47 -0700 Date: Mon, 10 Mar 2014 11:41:32 -0700 (PDT) From: leejk To: users@flex.apache.org Message-ID: <1394476892347-5369.post@n4.nabble.com> Subject: Problem With unscaledHeight MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am trying to create a custom component in AS that has a Scroller component. In my updateDisplayList override method, I am expecting to use the unscaledHeight property to set the height of the scroller component, so that it's scroll bars appear. The problem is that unscaledHeight is being returned as the actual height of the component, not what the parent says it can be based on available space in the parent's layout. What's more strange is that on the first call to updateDisplayList in the custom component, it reports that unscaledHeight is equal to 615, which is the parent view's total height not excluding the actionbar. Shouldn't it be excluding the actionbar? thx -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-With-unscaledHeight-tp5369.html Sent from the Apache Flex Users mailing list archive at Nabble.com.