Toggle Visibility of a Sidebar Element
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/-/JKvAUUjMYO4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home