Hi, the default implementation of setVisible() in the abstract UiObject class does just that: It sets
elem.style.display = visible ? '' : 'none'; But the setVisible() method is overridden by some classes, in GWT 2.0.3 these are the classes PopupPanel and LazyPanel. PopupPanel currently sets visibility: hidden; But such an implementation can change (see e.g. http://code.google.com/p/google-web-toolkit/issues/detail?id=4596) Chris On Mar 10, 8:33 am, Alexander Orlov <[email protected]> wrote: > Is the setVisible(false) method of a widget or the UiBinder equivalent > visible="false" a shortcut for the CSS directive display: none;? Or is > setting the visible property to FALSE the equivalent to "not loading > the widget" at all? -- 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.
