I had the same problem just a while ago, even though I had it with
<g:VerticalPanel horizontalAlignment="ALIGN_CENTER">

The reason in my case at least was, that UiBinder first adds the
children, then sets the attribute horizontalAlignment, but
horizontalAlignment is only taken into account for widgets added after
the property is set, so it has no effect on widgets added in the
template.

This is actually fixed in GWT 2.1.1., because I had version 2.1.0.
running and updated for that. Afterwards it worked as expected... Hope
that helps, since I haven't tried it with <g:cell ...> and I don't
know if the problems are related...


On Feb 17, 8:58 pm, Philippe Beaudoin <[email protected]>
wrote:
> I've had tons of problem using Vertical and HorizontalPanel to align
> correctly. In my most recent project I followed the advice from GWT
> documentation and moved away from them. Now I do everything with FlowPanel
> (or HTMLPanel) and careful use of floats. It has made my life much easier. I
> don't know if you can give that approach a spin in the current context?
>
> Cheers,
>
>    Philippe

-- 
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.

Reply via email to