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]
<mailto:[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]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Josh McDonald
Sent: Monday, August 18, 2008 4:53 PM
To: [email protected] <mailto:[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] <mailto:[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] <mailto:[EMAIL PROTECTED]> 

 

Reply via email to