Hey, thanks alot, that works well and is pretty easy. Regards Manuel
Am Mittwoch, 7. November 2012 01:09:22 UTC+1 schrieb Andrea Boscolo: > > Actually DockLayoutPanel implements AnimatedLayout thus it has direct > animation support. > You simply need to use setWidgetSize(widget, size) and call animate() (if > necessary). > Or even simpler use setWidgetHidden(widget) with gwt >= 2.5. > > On Tuesday, November 6, 2012 10:01:55 PM UTC+1, Manuel wrote: >> >> Hey, >> >> I try to toggle the visibility of a Element. But I dont get a resizing >> done :( >> >> I use a DockLayoutPanel: >> In the WEST I got a "Sidebar". In the CENTER I got a Frame... >> >> I made the Sidebar invisible via: >> DOM.setStyleAttribute(SideBar.getElement(), "display", "none"); >> >> But the CENTER dont take the free space. >> (DOM.setStyleAttribute(CenterFrame.getElement(), "position", "relativ"); >> didnt worked) >> >> >> >> Via Firebug i found out, that the center is wrapped in a div-tag that I >> cannot manipulate. >> >> So anyone know whats the propper way, to make the Sidebar >> visible/invisible ? >> >> Help is much appreciated. >> >> Thanks in advanced. >> >> Regards >> >> >> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d0zvxMlINyYJ. 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.
