![]() |
![]() |
||||||
|
|||||||
| Tags: container, controlling, scrollbars, 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. |
|
|||
|
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] |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise