10 Oct 2010 11:41 PM #1
BorderLayout and ContentPanel
I have a simple problem, yet I am unable to find a simple answer...
In my app, I have a LayoutContainer set with a BorderLayout.
On South, I have a ContentPanel, with it's height set to 200 in the borderLayoutData.
I want to be able to collapse the ContentPanel, so i set the borderLayoutData to be collapsible.
So far, everything works fine.
My problem is that i want the ContentPanel to be collapsed by default, it is currently expanded. I did not found any way to set the Panel collapsed by defaut.
Any idea/help to do this would be really appreciated,
11 Oct 2010 2:18 AM #2
you need to call
11 Oct 2010 2:29 AM #3
Thanks a lot, I had no idea you could call methods on the Layout Items (BorderLayout etc...)
It works fine, thank you !
By Stefan.Baehring in forum Ext GWT: DiscussionReplies: 3Last Post: 22 Sep 2010, 8:31 AM
By DanWhite in forum Ext GWT: DiscussionReplies: 3Last Post: 22 Sep 2010, 4:18 AM
By qwerty_qwerty in forum Ext GWT: Help & Discussion (1.x)Replies: 0Last Post: 29 May 2008, 10:27 AM
By franklt69 in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 19 Dec 2006, 5:34 PM
By pomata in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 6 Dec 2006, 7:29 PM