PDA

View Full Version : collapsed Panel height



vac-core
9 Feb 2010, 3:32 AM
Hi.

I have a problem with this Panel: when I collapse it, it keeps it's height, and I don't know why. Does somebody know what might be problem?



new Ext.Panel({
id: '_id_todo_list',
frame: true,
collapsible: true,
titleCollapse: true,
title: title_str,
autoHeight: true,
style: 'margin: 4px;',
items: [
new Ext.Panel({
id: '_id_todo_list_container_1',
layout: 'hbox',
baseCls: 'x-plain'
}),
new Ext.Panel({
id: '_id_todo_list_container_2',
baseCls: 'x-plain'
})
]
});


http://vac-core.web.elte.hu/panel_expanded.pnghttp://vac-core.web.elte.hu/panel_collapsed.png

jay@moduscreate.com
11 Feb 2010, 1:12 PM
yeah, i've had that issue. On collapse remove the height attribute of the element for the component.

vac-core
14 Feb 2010, 2:12 PM
One of my co-workers found out, that the (version 1.1 of) ManagedIFrame extension caused the problem.
(Ext 3.1.1 and MIF 2.1 work fine together)

BTW your solution didn't work for me.

regards