As it is a popup it is hidden by default. Also, there is no need to wrap it in a HTMLPanel http://pastie.org/1175329
On Wed, Sep 22, 2010 at 4:10 PM, marius.andreiana < marius.andrei...@gmail.com> wrote: > Hi, > > See here a nice example of using DialogBox & UiBinder > http://pastie.org/816302 > > How can one get the initial DialogBox state to be hidden with a > uiBinder property? Widget code will show it later on some specific > user actions. > > As a workaround, in widget constructor I tried > widget = uiBinder.createAndBindUi(this); > Dialog.hide() > but it doesn't work. > > If before hide() I introduce > Dialog.center() > it will work, but the dialog (with animation) will flash in center of > screen on widget initialization. > > -- > 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<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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.