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
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
Hi,
actually this should work
class MyDockLayoutPanel extends DockLayoutPanel {
public MyDockLayoutPanel(Unit unit) {
super(unit);
}
public void resizeWidget(Widget w, double newSize) {
//XXX ensure it is a widget added to this this layoutpanel
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