Re: Collapsible Component in GWT2.4

2012-01-20 Thread Andrea Boscolo
For an example, check the third comment (from Mauro) on https://groups.google.com/forum/#!topic/google-web-toolkit/C6S4jS1UsM0/discussion and see if it fits you needs. The sample is beyond simple layouting but you can find the collapsing/resizing logic you are looking for in the AppLayoutImpl

Collapsible Component in GWT2.4

2012-01-19 Thread vaibhav jain
Hello Experts, Actually i want to use a Panel in GWT 2.4 ,which can be collapsed towards left. I am making a Menutree on the left of the screen and will display the item on the right side of the screen which is selected by MenuTree,I want to put this MenuTree in a Panel which can be collapsed

Re: Collapsible Component in GWT2.4

2012-01-19 Thread Thomas Broyer
I think the recommended way to do this in GWT 2.0+ is to use a DockLayoutPanel or a LayoutPanel and use setWidgetSize (or setWidgetLeftWidth in a LayoutPanel) to resize it dynamically (and benefit from a smooth animation). (oh, just noticed this is what's suggested on the GWT-Incubator home

Re: Collapsible Component in GWT2.4

2012-01-19 Thread vaibhav jain
Hi,, Thanks for your reply,Can you explain little more how to resize layout panel dynamically to achieve the task as i m very new to GWT.I need to collapse the left panel towards left. On Thu, Jan 19, 2012 at 10:03 PM, Thomas Broyer t.bro...@gmail.com wrote: I think the recommended way to