Try adding a border to your HBox and VBox controls so that you can determine whether or not it is actually the HBox that is not resizing, or the content inside of that HBox not resizing.  Just add this to each HBox and VBox: 

“borderStyle="solid" borderThickness="1"

 

I had a similar problem in one of my apps… I thought it was the HBox, when it was actually the width of a mx:Text element inside of the HBox that was not being set correctly.

 

Hope this helps.

 

-Andy

 

_____________________________________

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robs
Sent: Tuesday, March 07, 2006 10:19 AM
To: [email protected]
Subject: [flexcoders] Resize issue

 

I have a component containing 2 controls vertically. The first is a
datagrid control & the other is a vbox control within which there are
multiple hbox controls. All hbox controls have been given a width of
100% so that they r in flush with the outer vbox.

The outer vbox is initially set to a width of 0 & visibility 'false'.
On click of a datagrid cell, I make the vbox visible with the help of a
resize effect written programmatically.

What I get to see is that the inner hbox controls don't stretch to
100%. Only after some other action within it, do they stretch to 100%.
Is it a redraw issue while resizing? What do i need to do to solve this?

Thanks...






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to