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:
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();
}
}
}();

|
#2
|
|
Looks like a bug, I am on it.
![]() |
|
#3
|
|
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.
![]() |
作者在使用ExtJS的BorderLayout时遇到一个Bug:当西侧面板折叠后展开时,面板会完全消失。此问题不仅出现在作者自己的布局中,在官方示例中也存在相同的问题。经过排查,确认这不是代码错误而是布局组件的Bug。
105

被折叠的 条评论
为什么被折叠?



