-
14 Nov 2007 4:15 AM #1
How to stop sliding of collapsed panel
How to stop sliding of collapsed panel
Cheers,
I have a complex slit region setup and one of the panel is collapsable. Everything works nice but I don't like the slideIn effect if I click on the bar of the collapsed panel. Instead of sliding in (and out on a mouseout of the panel) I would rather have it behave like the expand button.
Is there a way to disable the sliding or making it behave like the expand button?
I could not find something in the panel docs.
Thanks!
-
14 Nov 2007 8:33 AM #2
Try animCollapse:false on your panels.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
14 Nov 2007 9:06 AM #3
I already have animCollapse: false:
With animCollapse: false I do not get the expand/collapse animation, but I still can slide the region in by clicking on the big button-area when the region is collapsed.Code:region: 'west', id: 'ext_layout_west', // Ext component ID split: true, width: 200, minSize: 200, maxSize: 300, collapsible: true, animCollapse: false, layout: 'border', margins:'0 0 0 10', items: [....]
-
15 Nov 2007 12:55 AM #4
-
21 Nov 2007 11:07 AM #5
Anybody?
I've started looking into the code but couldn't find a hint...
-
9 Jan 2008 8:15 PM #6
Did you end up finding a solution???
I need to disable the 'big slide button' as well, and just make it act like the small top button (i.e. just lock in or out the area)
-
9 Jan 2008 11:34 PM #7
-
10 Jan 2008 3:57 PM #8
excellent, thanks mate. I knew it would be a parameter
-
23 Jan 2008 2:34 PM #9
Where's collapseMode defined?, I've looked it up in the docs and couldn't find it.
-
23 Jan 2008 9:22 PM #10Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41


Reply With Quote