Hi Brendan,

It would need to resize itself at run-time, but not to the extent that
scaling the window will trigger a resize.  If I explain the required
result a little more, hopefully it'll make more sense!  An informational
bar is collapsed by default, showing minimum information.  On selecting
an expand button, the bar should resize itself to accommodate all of the
text.  However, the container itself has a parent so it can't exceed the
dimensions of the parent container.  

The data will be stored within a Model Locator and for simplicity, will
already be available on the client.  This way, the data will be dynamic
and could change during use.  Therefore the container will need to be
adaptable at run-time.

Please shout if any of at doesn't quite make sense!
Thanks for any of your help,

Leon



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Brendan Meutzner
Sent: 09 January 2006 20:08
To: [email protected]
Subject: [flexcoders] Re: Dynamically increasing size of container to
fit all characters

Leon,

Does this container need to size itself based on it's content when
being loaded, or is its content bound to dynamic data, resulting in it
requiring resize itself during use?

Brendan



--- In [email protected], "Leon Tanner" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I am trying to achieve the following:
> 
> 1) Have a control or container that can accomodate a set of characters
> (could be 5 chars or 500 chars)
> 
> 2) It should increase in size to accomodate the count of characters
> 
> 3) The control or container should take into account not only the
count
> of characters to hold, but also the page dimensions (i.e. width) in
> order to use what space is available (within the confines of its
parent
> container)
> 
> To paint the picture, I have a VBox as the parent container,
essentially
> being used as the 'page'.  Within that, a control/container should
exist
> to hold data thats being fed to it.  The 'page' is one of 3
partitioned
> screen sections within the application (e.g. nav bar, top bar, main
> area) and the customer would like the 'page' to resize itself accord
to
> what data is to be shown - therefore making the width of the 'page' a
> factor to work with.
> Could anyone suggest what might be a good way to go - or even help out
> with an example of a similar solution?  If any of this needs further
> explanation - please just shout!
> Many thanks in advance,
> Leon
>






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



 






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to