One common issue is that the CB doesn't have data when it is measured
because the data is coming from a server request.  There's a flag
(resizeToContent, IIRC) that will re-layout after the data shows up

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Brandon Krakowsky
Sent: Monday, July 14, 2008 7:34 AM
To: [email protected]
Subject: [flexcoders] comboBox.percentWidth ignored?

 

I've got a comboBox inside of a HBox.  I can see in the docs that a
comboBox, by default, takes on the width of the largest title.  Setting
the width via comboBox.width or comboBox.setActualSize set's it to the
correct size, but setting the percentWidth property seems to be ignored
and the comboBox is way to wide for the HBox.

Am I missing something?

Thanks,
Brandon

 

 

Reply via email to