PDA

View Full Version : bug in BorderLayout?



mnugter
20 Feb 2007, 2:58 AM
I have a BorderLayout with a collapsible west panel. When I collapse the panel, expand the menu by clicking on the bar and then click on the >> icon to un-collapse it the panel completely disappears.

This happens in my own BorderLayout AND in the examples. I know the examples are buggy but I don't think my code is bugged.

EDIT: I'm using Firefox 2.0

Just in case, my BorderLayout:



Beheerlayout = function() {
var layout;

var tabs = Array();

return {
init : function()
{
layout = new Ext.BorderLayout(document.body, {
north: {
split:false,
initialSize: 25
},
west: {
split:true,
initialSize: 200,
minSize: 150,
maxSize: 250,
collapsible: true,
animate: true,
titlebar: true
},
center: {
autoScroll: true,
titlebar: false,
tabPosition: 'top',
alwaysShowTabs: true,
closeOnTab: true
}
});

var innerLayout = new Ext.BorderLayout('nav', {
south: {
split:false,
initialSize: 125,
autoScroll:true,
collapsible:true,
titlebar: true
},
center: {
autoScroll:true
}
});
innerLayout.add('south', new Ext.ContentPanel('wizard', "Wizard"));
innerLayout.add('center', new Ext.ContentPanel('menu', "Menu"));

layout.beginUpdate();
layout.add('north', new Ext.ContentPanel('header', {fitToFrame:true}));
layout.add('west', new Ext.NestedLayoutPanel(innerLayout));
layout.add('center', new Ext.ContentPanel('content', {title: "Start", closable: true}));
layout.endUpdate();
}
}
}();

jack.slocum
20 Feb 2007, 4:12 AM
Looks like a bug, I am on it.

jack.slocum
20 Feb 2007, 7:03 AM
This is fixed. I will be deploying a new zip shortly. I actually finally implemented "quick pin" when you click it as has been requested over and over. In a later build I will include a pin icon in tools for it.