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