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 : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net <sip%3awebattit...@ekiga.net> téléphone portable : +33601 822 056 2009/5/27 Tracy Spratt <tr...@nts3rd.com> > > > 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 > > > >