PDA

View Full Version : [CLOSED][3.0] Panel does not compensate for fbar correctly



Condor
13 Mar 2009, 1:16 AM
Try this code:

new Ext.Window({
title: 'Test',
width: 200,
height: 100,
layout: 'fit',
items: {
xtype: 'form',
buttons: [{
text: 'OK'
}]
}
}).show();
The form size is calculated wrong so the buttons are below the visible area.
I think it's because the buttons are rendered by the toolbar layout after the form size is calculated, but I'm very busy the next few weeks, so I don't have time to find a solution right now.

sven
13 Mar 2009, 11:32 AM
http://extjs.com/forum/showthread.php?t=52077

I already talked to evan about it and gave him the solution.

aconran
8 Apr 2009, 12:39 PM
Just want to bump this, looks like this is already resolved? Could you please confirm.

sven
8 Apr 2009, 1:06 PM
No, that is the issue we spoke yesterday about. layouting the bars is one step too late. They need to be sized BEFORE the onresize of the holding panel runs.

evant
8 Apr 2009, 11:02 PM
I'm not seeing the issue in the example, can you post the test case you were talking with Aaron about?