No doubt. Will investigate further :) On Tue, Aug 19, 2008 at 2:36 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
> Spooky… Potentially fragile, IMHO. > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Monday, August 18, 2008 9:25 PM > *To:* [email protected] > *Subject:* Re: [flexcoders] Why does ComboBox not invalidateSize() on > DATA_CHANGE (at least once)? > > > > Nope. One of our guys was having a problem where the CB wouldn't be the > right size when nested in a VBox, so I suggest he call cb.invalidateSize() > on dataChange, and it fixed the problem. Maybe just a happy coincidence. I > don't like it when things like that happen and I can't explain 'em tho :( > > -Josh > > On Tue, Aug 19, 2008 at 2:16 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > ??? > > > > DATA_CHANGE is when the data property changes which is inactive unless the > CB is a renderer in some list. Did you mean COLLECTION_CHANGE? > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Monday, August 18, 2008 4:53 PM > *To:* [email protected] > *Subject:* [flexcoders] Why does ComboBox not invalidateSize() on > DATA_CHANGE (at least once)? > > > > Hey Guys, > > Just wondering why the default behaviour of ComboBox doesn't > invalidateSize() when data is changed, or at least the first time it does? > Seems odd to me is all. It seems to resize just fine under some > circumstances, but when placed in a VBox you need > dataChange="invalidateSize()" > > -Josh > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

