Dennis_gull
10-05-2008, 03:33 PM
Hello,
Is there some way I can keep the containers size at 100% without exceeding the parent width and height?
By simply adding: (example)
<mx:Canvas width="100%" height="100%" />
The container will expand and get bigger then the parent if I add more content then the size of the canvas and that will give the parent container an scroller instead of the container. I want the container to get an scroller but I can only accomplish this if I enter an exact width and height, any ideas on how to solve this would be appreciated.
Is there some way I can keep the containers size at 100% without exceeding the parent width and height?
By simply adding: (example)
<mx:Canvas width="100%" height="100%" />
The container will expand and get bigger then the parent if I add more content then the size of the canvas and that will give the parent container an scroller instead of the container. I want the container to get an scroller but I can only accomplish this if I enter an exact width and height, any ideas on how to solve this would be appreciated.