I have an application running in a DockLayoutPanel. I'm trying to display an image in the center component (the center contains a FlowPanel which contains the image) and have that image fill as much of the center as possible. I'm doing this by setting the image width to 100%. The problem is that if the browser is very wide the image will overflow and get cut off at the bottom. In this case I'd like to set it to 100% height so that this doesn't happen. I can't figure out how to get the visible height of the center component to make this change when the browser is resized. Is there something obvious that I'm missing?
Thanks, -Chris -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
