PDA

View Full Version : Fit Menu Expands after window resize



joefox
31 Jan 2010, 11:46 AM
*EDIT*
After i did some tests, i was able to get it to work if i didnt put a fit, with 2 objects in it.
I had to split both fit object up...
Should it have to be this way?

I have a layout that includes 2 fit objects right on top of each other, it looks fine when you first go to the page, however if you adjust your browser window size, it pushes the 2nd fit box down about 300px for some reason.

Not sure why its doing this, any ideas?


xtype: 'tabpanel',
id:'user_sub_panel_se',
activeTab:0,
columnWidth: .70,
height: 585,
minSize: 585,
maxSize: 585,
items:[{
contentEl:'admin_se_details_tab_1',
title: 'Project Entry Form',
id:'project_entry_form',
iconCls:'workflow',
//autoScroll:true,
defaults:{style:'padding:5px'},
items:[{
layout:'fit',
items: [{
title: 'Enter New Project Time Entry Form',
iconCls: 'image',
contentEl:'project_se_entry_form_layout',
border: false,
height: 140,
tbar:[{
text: 'Add New Project',
iconCls: 'image_add',
handler: add_new_project_se
},{
text: 'Reset Form',
iconCls: 'image_delete',
handler: reset_se_project_form
}]
}]
},{
layout:'fit',
items: [{
title: new Date().format('m/d/y') + ' Today\'s Project Entries',
iconCls: 'image',
contentEl:'project_todays_entries_se',
border: false,
height: 100,
maxSize: 100,
tbar:[{
text: 'Refresh View',
iconCls: 'arrow_refresh',
handler: admin_se_menu_refresh
}]
},{
title: new Date().format('m/d/y') + ' Edit Today\'s Project Entries',
iconCls: 'image',
contentEl:'edit_project_todays_entries_se',
border: false,
height: 180,
maxSize: 180
}]
}] //End Portal Overview 2 Layout
},{