just ensure that the new panel that you have added is occupying all the
width of the parent panel.

set a border width to check that.

On Sun, Mar 14, 2010 at 4:50 AM, Rob34226 <[email protected]> wrote:

> I have a DialogBox with a vertical panel.  The last thing I added was
> a button that I want to be centered.  I tried to put the button in a
> another panel and then setHorizontalAlignmnet(center) that panel in
> the parent panel but it still doesn't work.  How do you center widgets
> or set any alignment for GWT widgets? Thanks
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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