PDA

View Full Version : [CLOSED][3.1] collapseMode:mini no longer hides expand/collapse tool button?



aedos
30 Dec 2009, 12:25 PM
Ext version tested:


3.1


Browser versions tested against:


IE
FF

Description:
After upgrade to 3.1 from 3.0, the "expand/collapse tool button" starts to show up for split region with collapseMode:mini.

Is this a bug? Otherwise, is there a way to hide the big expand/collapse tool button?

Test Case:


Ext.onReady(function() {
new Ext.Viewport({
layout: 'border',
items:[
{ region: 'west', width:200, collapsible:true, split:true, collapseMode:'mini' },
{ region: 'center', html:'blah' }
]
});
})

Condor
30 Dec 2009, 1:40 PM
This is not a bug, but a planned change.

You can hide the header with the collapse tool by including:

header:false

aedos
30 Dec 2009, 2:08 PM
Thanks again, Condor!

smartree
30 Dec 2009, 7:58 PM
collapsible:true,
I just note this property as comment, then the header will hide...
//collapsible: true,


and how make the collapseMode:mini collapse
under a MiniMinHeight? I hope that the panel could reserve the topbar after user press the mini button.

mepfuso
18 Mar 2010, 9:27 AM
now that is awful ... i have to update like 973589347 panels now lolz