Adobe Dreamweaver Forums



Last 10 THreads :         Quicktime Failed Import (Last Post : Shaun.Gish - Replies : 0 - Views : 1 )           »          Need assistance converting some AS2 code to AS3 (Last Post : DPSwebmaster - Replies : 2 - Views : 3 )           »          Bind checkboxes in Flash form (Last Post : John Gillett - Replies : 4 - Views : 16 )           »          Text Captions not displaying in Preview (Last Post : wordgirlwhiz - Replies : 0 - Views : 1 )           »          Comparison of LMS (Last Post : Itzelm - Replies : 2 - Views : 9 )           »          IMXMLObject.initialized() problem (Last Post : baddcafe - Replies : 0 - Views : 1 )           »          dumb flex question about mxml arguements (Last Post : baddcafe - Replies : 2 - Views : 3 )           »          Putting NYMEX delayed feeds on web site (Last Post : DavidConner - Replies : 0 - Views : 1 )           »          PLEASE HELP - submitting a form & retriving the enteredinfo (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          Passing a VO to a CairngormEvent. (Last Post : ForestDemon - 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 > Other Macromedia/Adobe Products > Flex
 
Tags: , , ,



Reply
  #1 (permalink)  
Old 08-01-2008, 02:25 AM
SalmonArm
 
Posts: n/a
Diggs:
Default Re: Controlling scrollbars and container sizes

I'm constantly running into the same issue.
Sometimes there are 3 horizontal or vertical scrollbars..

Have you ever found a solution for this problem?


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-01-2008, 06:01 AM
Jake Lyman
 
Posts: n/a
Diggs:
Default Re: Controlling scrollbars and container sizes

Not sure if this will help you with your specific issue, but it is worth a shot!

See
http://www.adobe.com/cfusion/webforu...id=60&catid=58
5&threadid=1381080&enterthread=y.

Reply With Quote
  #3 (permalink)  
Old 08-01-2008, 08:41 AM
SalmonArm
 
Posts: n/a
Diggs:
Default Re: Controlling scrollbars and container sizes

Thanks Jake,

Sofar I've found that HDividedBox has a problem with resizing a child
component if that child is a container holding more components/containers. Its
difficult to debug but my impression is that when the layout manager pass takes
place, the child container's size hasn't been updated yet.
My workaround hack that helped somewhat is to catch the resize event in the
HDividedBox child and set its minWidth to be the max of the measuredMinWidth of
the child's children.
eg:
[Q]function onResize(event:Event):void
{
if ((child1 != null) && (child2 != null))
{
this.minWidth = Math.max( child1.measuredMinWidth,
child2.measuredMinWidth);
}
}[/Q]

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:19 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk