PDA

View Full Version : Panel in a window



josefkoller
7 Dec 2010, 4:25 AM
Hello,

I have the following contruct but the panel position don't work. I ever get a "strechted" panel inside the window class.

How can I set the correct left, top, width and hight positions ?

Thanks

Josef

---------------
win = new Ext.Window({
// applyTo:'hello-win',
title:'Imkereiverwaltung',
layout:'fit',
width:1150,
height:600,
x:document.body.clientWidth - 1150) / 2,
y:10,
closable:false,
draggable : false,
resizable : false,
plain: true,
items: new Ext.Panel({
title:'Benutzerauswahl',
x:200, <------
y:200, <-----
width:300, <----
height:300,<-----
....