On Dec 15, 3:08 pm, jbdhl <jbirksd...@gmail.com> wrote: > To answer my own question, the following seem to work: > > HorizontalPanel h = new HorizontalPanel(); > h.setSize("100%", "100%"); > h.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); > h.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); > h.add(myWidget);
AFAICT, this only works in "quirks" mode, not in "standards" mode (height:100% is the failing part). Have you tried using a PopupPanel and its .center() method? -- 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.