PDA

View Full Version : Resize Problem



originative
23 Jul 2009, 7:58 PM
HI,
i have a Vertical Tab Panel (Ext.ux.VerticalTabPanel) in which i have a panel and in that panel content is loaded, now the problem is that when i change the height and width of my browser (FF) the panel does not change its size and when i maximize my browser the panel then goes the that height and width which i previously change, and also their is no horizontal scroll bar shown in the panel.


my tab :



{
title: 'Tab 3',

items:[{
xtype:'panel',
collapsible:true,
draggable:true,
titleCollapse:true,
border:false,
tools:[{
id:'print',
handler:function(){
window.print();
}
}],
title:'Panel of TAB 3',
contentEl:'content_of_tab3'
}
what should i do?

Condor
24 Jul 2009, 3:19 AM
Overnested. Why are you putting a panel in a panel (without a layout)?

Simply use:

{
title: 'Tab 3',
xtype:'panel',
collapsible:true,
...
}

originative
24 Jul 2009, 4:13 AM
is there is a limit on nesting? if yes then what is the no?

i want to put a panel in tab coz i want to use function like titleCollapse and tools is there any other way to use the tools?

Condor
24 Jul 2009, 4:55 AM
No, there is no limit, but you also didn't give the outer panel a layout (e.g. layout:'fit').

originative
24 Jul 2009, 5:41 AM
Thanks a lot condor for your time it works... there is one more problem i have mentioned that there are no horizontal scroll bar (vertical are their) i have set the property autoScroll to true.

how horizontal Scroll bar can be enable?

Condor
24 Jul 2009, 5:52 AM
You only get a horizontal scrollbar if the text in contentEl doesn't wrap.

originative
24 Jul 2009, 10:28 AM
can you please tell me how to do this, i really do not understand... i will b very thankful

originative
25 Jul 2009, 5:09 AM
i tried but the problem remains, Scroll comes and disappear suddenly .... what should i do now?

originative
27 Jul 2009, 2:13 AM
i have solve the problem thanks for your help.