PDA

View Full Version : Problem using menu's with yui-ext complex layout example



Ram Manoj
24 Apr 2007, 4:47 AM
Hello guys,

Just as everyone wishing to use the popular 'complex layout' example of yui-ext library,

I wanted to use menu with complex layout in the north panel. But the drop-down division (div) is getting truncated as the menu drops down on the center panel.

I am attaching a screenshot of the page which will give a clear idea.
If you need more information regardingly, Please feel free to post back.

Hope one will solve the issue.

Thanks in advance.

bucka
24 Apr 2007, 5:53 AM
This is how i did it:

if(!dialog){
dialog = new Ext.LayoutDialog("hello-dlg", {
width:600,
height:400,
shadow:true,
minWidth:300,
minHeight:300,

north: {
split:false,
initialSize: 50,
minSize: 100,
maxSize: 200,
titlebar: true,
collapsible: false
}

});

then using the example int docs/examples....Toolbar and Menus

replace the line:
var tb = new Ext.Toolbar('north');

and it is working fine...without any problem

ultimatee
25 Apr 2007, 2:02 AM
I tried your solution, but now I'm not getting any scrollbars in the "content" section, even though I set autoScroll: true ..

Can you give me some hint why is that, please?

bucka
25 Apr 2007, 4:21 PM
where disappeared the scroll bar ?
In the North ContentPanel? or everywhere?