Hi Patrick,

thank you very much! This works!

I did several things differently:
I used this.getOffsetWidth/Height instead of 
this.getParent().getOffsetWidth/Height
And I also used setHeigth instead of setWidgetSize

So for now I have a working solution.

One thing is noticeable: The widget, the size is changed, is always larger 
than half of the parent size.
Especially the north panel is larger than the south part. When inspecting 
it has a height of 255px, while the south/center part has a height of 
175px, the parent height was divided by 2. This could result from the 
splitters size, but in this case, the difference is much more (80px).
I just wonder if I should correct this by a constant value.

Thanks
Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to