One of those days... I felt like George Costanza in that Seinfeld episode where 
he exclaims "Worlds are colliding" :) (Flash-HTML in my case).

It seems scrollbars in a flex app are from the flash runtime, not the browser. 
I was confused because the UI was so nice and fluid but when the scrollbars 
appeared the container did not auto resize to accommodate the scrollbar. After 
thinking about it further, although this is not what I wanted it is normal 
behavior. In my case the UI component being overwritten by the scrollbar was a 
window control for fullscreen and I want it to be visible without scrolling.

I found a solution here 
http://www.mail-archive.com/[email protected]/msg82680.html that 
resolves my issue nicely.

HTH, thanks for listening ;-)

-Greg




From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Greg 
Hess
Sent: Tuesday, February 12, 2008 2:04 PM
To: [email protected]
Subject: [flexcoders] Browser scrollbars corrupting layout

Hi All,

I have been working on my applications layout and trying to make it as fluid as 
possible. Images seem to be my main culprit as they don't scale well when using 
% based layout. I have accepted this, however when I resize the browser window 
past the image(s) region the browser scrollbars appear. Unfortunately, when 
this occurs the ~30 pixels (horizontal or vertical) that the scrollbars take up 
overlap my components corrupting the layout.

Is there a way to resolve this behavior?

Any help much appreciated.

Thanks,

Greg

Reply via email to