I think the width and height are set by the skin, and the host component size 
is inferred from that.

See Skin.as explicit min and max values and SkinableComponent.measure()

Also, updateDisplayList() in SkinnableComponent calls setActualSize() on the 
skin.

Does that help?

On Jan 1, 2015, at 1:00 AM, OmPrakash Muppirala <bigosma...@gmail.com> wrote:

> I am seeing that in the updateDisplayList() method of my BusyIndicator
> skin, the unscaledWidth and unscaledHeight are showing up as 0.  Even
> hostComponent.width and hostComponent.height show up as 0.
> 
> But hostComponent.$height and hostComponent.$width show the correct values.
> 
> 
> It looks like I might be missing something in the component <-> skin
> contract.  How does a skin know that a component has a new width and height?
> 
> This is one the reasons the BusyIndicator mustella tests are failing.
> Anyone has insights on what could be happening here?
> 
> Thanks,
> Om

Reply via email to