Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Rüdiger Herrmann
Hi Fabian, forget about the stack-trace and custom.js. I think I found out what it's about. We createed out SplitPane-derived Sash like this var sash = new org.eclipse.swt.Sash(); sash.setOrientation( "horizontal" ); The Sash-constructor looked like this: construct : function() { t

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Rüdiger Herrmann
well, there is a stack-trace. But you won't like it;) We use one large 'custom.js' that contains all qooxdoo classes we need but it has gone through the generator script and therefore isn't very user-friendly. May I send it to you diretly as it's ~ 1 MB in size and zip files are rejected by sou

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Rüdiger Herrmann
Sebastian, we have a widget called Sash, that is derived from qx.ui.splitpane.SplitPane. This widget causes the error when he user starts to drag the divider. But I guess there is more since the with more widgets, error occurs already before any user-interaction has taken place. Cheers, Rüdige

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Fabian Jakobs
Rüdiger Herrmann schrieb: > Fabian, > > this Problem didn't occure in previous versions. Neither in 0.7 nor in > 0.6.5 (the version we are currently migrating from). > The combination of widgets is rather complex (see > http://rap.innoopract.com/rap). I am currently trying to strip it down - > w

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Sebastian Werner
Rüdiger Herrmann schrieb: > Sebastian, Rüdiger, > > as said, there is *no* single "1*" literal in our code. We don't use > setOrientation(), neither directly nor in a theme. Then you maybe combine a box layout with the specific orientation and a widget with the mentioned "1*" value in one of

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Rüdiger Herrmann
Sebastian, as said, there is *no* single "1*" literal in our code. We don't use setOrientation(), neither directly nor in a theme. If there are illegal values for height and width, couldn't they be checked when the setter is called. That would make finding errors like this a lot more easier.

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Rüdiger Herrmann
Fabian, this Problem didn't occure in previous versions. Neither in 0.7 nor in 0.6.5 (the version we are currently migrating from). The combination of widgets is rather complex (see http://rap.innoopract.com/rap). I am currently trying to strip it down - will keep you informed. Cheers Rüdiger

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-11 Thread Sebastian Werner
Normally this is an error in the combination of user code itself, not the code in qooxdoo. Do you use setOrientation() anywhere? You must be sure that you do not add height=1* to hbox-layouts and width=1* to vbox-layouts. That is why this error occours. Sebastian Fabian Jakobs schrieb: > Rüdi

Re: [qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-10 Thread Fabian Jakobs
Rüdiger Herrmann schrieb: > Hi all, > > I get the following error > > ERROR: qx.ui.layout.BoxLayout[772]: Could not layout child [object > qx.ui.layout.CanvasLayout] through layout handler: Error - Widget > [object qx.ui.layout.CanvasLayout]: having horizontal flex size > (width=1*) but parent l

[qooxdoo-devel] Layout errors in 0.7 trunk r7764

2007-05-10 Thread Rüdiger Herrmann
Hi all, I get the following error ERROR: qx.ui.layout.BoxLayout[772]: Could not layout child [object qx.ui.layout.CanvasLayout] through layout handler: Error - Widget [object qx.ui.layout.CanvasLayout]: having horizontal flex size (width=1*) but parent layout [object qx.ui.layout.BoxLayout] do