Adobe Dreamweaver Forums



Last 10 THreads :         Re: Accurate measurements for printing (Last Post : Don_Gough@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Paint, erase, burn and dodge won't work for me in CS4 (Last Post : John Joslin - Replies : 0 - Views : 1 )           »          Re: Accurate measurements for printing (Last Post : Don_Gough@adobeforums.com - Replies : 0 - Views : 1 )           »          button rollover to keyframe help (Last Post : mrpetesurfs - Replies : 1 - Views : 2 )           »          Call out side flex (Last Post : G009 - Replies : 13 - Views : 14 )           »          Scaling .swf files to fit specific dimensions (Last Post : wolfsj - Replies : 0 - Views : 1 )           »          Array of Queries (Last Post : ptrott - Replies : 0 - Views : 1 )           »          Can't get Macromedia Authorware Web Player to install onWindows Vista (Last Post : auberj - Replies : 0 - Views : 1 )           »          Form split across two columns (Last Post : RICH POW - Replies : 6 - Views : 7 )           »          NetLobo and Hidden
Tags (Last Post : kiusau - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-03-2008, 04:38 AM
Pierre L
 
Posts: n/a
Diggs:
Default How to make a rigid container ?

Hello,

Suppose that we have the following tree :
<mx:Application>
<mx:Box id="mybox" height="100%" />
<mx:Application>

and that we dynamicaly add content to mybox, so much that the height of the
content of mybox become greater that the screen height. With the default
behavior, mybox will grow indefinitely and a vertical scroll will appear at
mx:Application level.
I would like a more rigid behavior. I'd like that mybox grows until it reaches
the screen height and then a vertical scroll appear in mybox. The first idea
(that works) is to define mybox.height="{Application.application.height}", but
this is not very pratictal since inner height is possibly different from outer
height, moreover, we need to use this trick at every level of the tree.
Do you know another way to achieve this result ? For example a property that
indicates to a container that he must not try to fit to its content.

Thank you in advance,
Pierre L.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-03-2008, 04:38 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How to make a rigid container ?


"Pierre L" <webforumsuser@macromedia.com> wrote in message
news:ge2eel$j8b$1@forums.macromedia.com...
> Hello,
>
> Suppose that we have the following tree :
> <mx:Application>
> <mx:Box id="mybox" height="100%" />
> <mx:Application>
>
> and that we dynamicaly add content to mybox, so much that the height of
> the
> content of mybox become greater that the screen height. With the default
> behavior, mybox will grow indefinitely and a vertical scroll will appear
> at
> mx:Application level.
> I would like a more rigid behavior. I'd like that mybox grows until it
> reaches
> the screen height and then a vertical scroll appear in mybox. The first
> idea
> (that works) is to define mybox.height="{Application.application.height}",
> but
> this is not very pratictal since inner height is possibly different from
> outer
> height, moreover, we need to use this trick at every level of the tree.
> Do you know another way to achieve this result ? For example a property
> that
> indicates to a container that he must not try to fit to its content.
>
> Thank you in advance,
> Pierre L.


maxHeight?


Reply With Quote
  #3 (permalink)  
Old 11-03-2008, 04:38 AM
Pierre L
 
Posts: n/a
Diggs:
Default Re: How to make a rigid container ?

maxHeight is not the solution, becouse we have to type
maxHeight="{Application.application.height}" and the problem is identical.
Let me explain more precisely the issue. When mybox grows, mx:Application's
content space grows if needed (with a scrollbar) and then the height of mygrows
is set to 100% of the new inner size of mx:Application (but there is no change
since mx:Application fit mybox).
I would like the following, when mybox grows, a scrollbar appears if it exceed
100% of the current size of mx:Application.

Reply With Quote


  #4 (permalink)  
Old 11-03-2008, 04:38 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How to make a rigid container ?


"Pierre L" <webforumsuser@macromedia.com> wrote in message
news:ge2uj4$ae0$1@forums.macromedia.com...
> maxHeight is not the solution, becouse we have to type
> maxHeight="{Application.application.height}" and the problem is identical.
> Let me explain more precisely the issue. When mybox grows,
> mx:Application's
> content space grows if needed (with a scrollbar) and then the height of
> mygrows
> is set to 100% of the new inner size of mx:Application (but there is no
> change
> since mx:Application fit mybox).
> I would like the following, when mybox grows, a scrollbar appears if it
> exceed
> 100% of the current size of mx:Application.


maxHeight on Application?


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk