On Dec 21, 5:08 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> On Dec 21, 3:34 am, "amich...@gmail.com" <amich...@gmail.com> wrote:
>
> > Hello,
>
> > The Game Over dialog is not centered properly using thecentermethod:
>
> >http://dropzap.appspot.com
>
> > Is there a workaround?
>
> The dialog is actually properly centered, but what you see in the
> dialog isn't the same width as the dialog!
> remove the ".gwt-DialogBox { width: 400px; }" from your stylesheet.
> (add .gwt-DialogBox { border: 1px solid red; } or use Firebug or Web
> Inspector to see what I mean above)

Thanks for resolving this problem.

BTW, that width line should probably be removed from the automatically
generated project in Eclipse to avoid confusion.

Also, it would be nice to have a center method that centers with
respect to some widget.

Amir

--

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