On Sep 23, 1:11 am, Thomas Broyer <[email protected]> wrote: > On 22 sep, 22:47, "marius.andreiana" <[email protected]> > wrote: > > > On Sep 22, 11:21 pm, Gal Dolber <[email protected]> wrote:> As it is a > > popup it is hidden by default. > > > For me, with gwt 2.0.4, it's shown by default. > > I'm declaring <g:DialogBox> inside a UiBinder HTMLPanel tag, among > > other widgets. > > That's probably the reason: you add the DialogBox to some widget, so > it's shown as any other widget. Would you do an > myHtmlPanel.add(myDialogBox) in Java? No :) I prefer to declare the DialogBox with it's inner elements inside the UiBinder view. It is markup+style, it belongs in UiBinder xml.
Thanks for explaining the reason why this happens though. Should I file an issue on gwt to make it hidden by default when used in UiBinder? -- 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.
