Hi Ian,

as longer I think about your advice, the more I like it. You could do
interesting things within the resize code, e. g. hide some widgets if
there is not enough room...

However, before I give it a new try, I need some additional
information:

- If I calculate everything on my own: Which LayoutPanel should I use
for the parent area (e. g. AbsolutePanel?)?
- For doing the layout for child objects, I need to determine their
sizes
  E. g. to center a TextBox, I need its width in pixels. How do I get
this?
- What if I do not know the pixel sizes of child objects?
  E. g. my chess board is a Grid. I don't know its pixel size. How do
I do this?

Maybe this could be a perfect solution...
Thank you!

Magnus

On 8 Jun., 18:29, Ian Bambury <ianbamb...@gmail.com> wrote:
> I think your best bet is to use the onResize and just calculate it. CSS
> doesn't support centring vertically and I don't think GWT has any magic
> bullet either.
>
> Ian

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to