I think you need to find out if the wrong value is computed or if something else later changes the size Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.
leejk <[email protected]> wrote: So I was looking at this again, and apparently a contributing factor to my problem is that the inner most scroller (_scrollPane) is not getting sized correctly. Even though I have setting the height of the scroller to the height of the component minus the header height, when debugging it still is expanding to the height of it's child container. Here is the code: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); _unitsToggle.move(unscaledWidth - _unitsToggle.getExplicitOrMeasuredWidth(), -20); _scrollPane.move(0, _modelHeaderContainer.getExplicitOrMeasuredHeight()); _scrollPane.setActualSize(unscaledWidth, unscaledHeight - _modelHeaderContainer.getExplicitOrMeasuredHeight()); _listBoxScroller.move(0, 0); _listBoxScroller.setActualSize(unscaledWidth, unscaledHeight); trace("here"); } Anyone know why setActualSize in this case is not sizing the scroller correctly? -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Scroller-Within-Scroller-tp6393p6397.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
