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.
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.