The _pane and the _layout do not automatically adjust to components put
inside the _pane. Made some changes so resizing works automatically.

Attach a diff for the proposed changes.

Kent
Index: QxWindow.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxWindow.js,v
retrieving revision 1.31
diff -u -r1.31 QxWindow.js
--- QxWindow.js	8 Mar 2006 08:33:44 -0000	1.31
+++ QxWindow.js	11 Mar 2006 16:35:33 -0000
@@ -64,6 +64,8 @@
 
   var l = this._layout = new QxVerticalBoxLayout;
   l.setEdge(0);
+  l.setHeight(QxConst.CORE_AUTO);
+  l.setWidth(QxConst.CORE_AUTO);
   this.add(l);
 
 
@@ -172,7 +174,8 @@
   // ************************************************************************
 
   var p = this._pane = new QxCanvasLayout;
-  p.setHeight(QxConst.CORE_FLEX);
+  p.setHeight(QxConst.CORE_AUTO);
+  p.setWidth(QxConst.CORE_AUTO);
   p.setOverflow(QxConst.OVERFLOW_VALUE_HIDDEN);
   l.add(p);
 

Reply via email to