Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Safari
Language Found: English
Description
Steps to reproduce:
1. create the following component
package fs.groups
{
import spark.components.Group;
public class Group extends spark.components.Group
{
public function Group()
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{ super.updateDisplayList(unscaledWidth, unscaledHeight); trace("unscaled*:", unscaledWidth, unscaledHeight); trace("getExplicitOrMeasured*:", getExplicitOrMeasuredWidth(), getExplicitOrMeasuredHeight()); } }
}
2. create the following application
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
xmlns:groups="fs.groups.*">
<s:Group height="400" width="400">
<groups:Group id="fs" height="100%" width="100%" />
</s:Group>
</s:Application>
3. compile
Actual Results:
The trace log:
unscaled*: 400 400
getExplicitOrMeasured*: 0 0
I would expect the group to be as big as the container, since it is expressed in MXML.
Expected Results:
unscaled*: 400 400
getExplicitOrMeasured*: 400 400
Workaround (if any):
none