Saturday, April 30, 2011

Re: DialogBox.center does not center correctly

On Sat, Apr 30, 2011 at 13:06, Magnus <alpineblaster@googlemail.com> wrote:
> In Firebug, I found that the outer DialogBox has its original
> (smaller) size, and that this part of it is centered correctly.
>
> However, the inner AbsolutePanel, which was sized much bigger than the
> DialogBox by my code, is aligned as if it were not resized, i. e. its
> left border equals the DialogBox left border, and its right border is
> out of the screen.
>
> After that I tried to resize the DialogBox itself, but this resulted
> in graphic errors, i. e. the corners of the DialogBox are disturbed...
>
> What can I do?
>
> Magnus

Why do you use an absolute panel inside a dialogbox the first place?


--
Proper software development is like female orgasm. Some claim it's a
myth, others try very hard to make it happen but don't know how, and
most magazines, books and videos showing it are showing faked ones.

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment