Hi,

Label and Text resizement/measurement implementation doesn't seem very
simple to me, but I managed to get Label width updated after
"validateNow()".

thomas
---
http://www.web-attitude.fr/
msn : [email protected]
softphone : sip:[email protected] <sip%[email protected]>
téléphone portable : +33601 822 056


2009/5/27 Tracy Spratt <[email protected]>

>
>
>  I am implementing a Marquee component using a Canvas and a Move effect on
> a child label.
>
>
>
> I want the effect to play only when the label is wider than the canvas.
>
>
>
> When a setter function sets the Label’s text property, the label has not
> been resized to fit the new text yet, so I can’t test:
>
> if (myLabel.width > this.width)
>
> in the setter
>
>
>
> I have not yet found the right invalidation, or event or override to
> trigger my measure logic.  Any suggestions?
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
>
>  
>

Reply via email to