Hi Sergey

you can assign by this attribute percentWidth and percentHeight.

or just simple as possible

myBox.height = containerWheretheMyBoxGoes.height;

likewise width do the same.


Regards.

On 10/4/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote:

Hi All!

I have UIComponent instance (e. g. Box) myBox. I want to set its width
(e. g. myBox.width = 100), but height should be calculated
automatically, depending on box content. What value should I assign to
height? myBox.height = NaN works ok, but I'm not sure it's stable...

Sergey.




--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to