Re: [qooxdoo-devel] ClientDocument bounds

2006-12-19 Thread Rüdiger Herrmann
Hi all, thanks for the insight. I am wondering if ClientDocument could return something meaningful. Maybe the values from qx.dom.Window width/height and zero for top/left? Cheers Rüdiger Rüdiger Herrmann wrote: > Hi all, > > I tried to figure out the size of the client area > of the browser wi

Re: [qooxdoo-devel] ClientDocument bounds

2006-12-19 Thread Sebastian Werner
You can also use: qx.dom.Window.getInnerWidth and qx.dom.Window.getInnerHeight Cheers, Sebastian Jim Hunter schrieb: > Not sure if there is a way inside qooxdoo, but this is what I do on all > applications. I have this code right at the start of my first SCRIPT and > then all qooxdoo function

Re: [qooxdoo-devel] ClientDocument bounds

2006-12-18 Thread Derrell . Lipman
Rüdiger Herrmann <[EMAIL PROTECTED]> writes: > Hi all, > > I tried to figure out the size of the client area > of the browser window. > From what I understand the qx.ui.core.ClientDocument > should provide this. But I was told wrong, the width > ad height is null. > Here is a code snippet that sh

Re: [qooxdoo-devel] ClientDocument bounds

2006-12-18 Thread Jim Hunter
Not sure if there is a way inside qooxdoo, but this is what I do on all applications. I have this code right at the start of my first SCRIPT and then all qooxdoo functions have the info available to use: var browseHeight; var browseWidth; if(document.layers||(document.getElementById&&!documen

[qooxdoo-devel] ClientDocument bounds

2006-12-18 Thread Rüdiger Herrmann
Hi all, I tried to figure out the size of the client area of the browser window. From what I understand the qx.ui.core.ClientDocument should provide this. But I was told wrong, the width ad height is null. Here is a code snippet that shows how I tried to figure out the size: qx.core.Init.getI