Hi everyone,
I use the following line of code:
-------
this.setUserBounds(qx.bom.Viewport.getScrollLeft(),  
qx.bom.Viewport.getScrollTop(), qx.bom.Viewport.getWidth(),  
qx.bom.Viewport.getHeight());
-------
to make my widget's position and size follow the ViewPort. I am  
testing it under Safari 3.2.1 and FF 3.0.8, both on Max OS X.5.

On FF, the widgets adapts itself to the Viewport perfectly. On Safari,  
when the HTML page has a smaller height than the Viewport, everything  
is fine, but when the page is higher than the viewport, a vertical  
scollbar appears to the right, reducing the size of the Viewport, but  
the value returned by qx.bom.Viewport.getWidth() doesn't change and my  
widget is therefore too large, and I get in turn a horizontal scrollbar.

The documentation for qx.bom.Viewport.getWidth() explicitely says that  
the scrollbar is excluded.

I'm using qooxdoo 0.8.2. I am reluctant to call this a bug at this  
point since I am very new to qooxdoo. Is this a known issue or am I  
doing something wrong?

V.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to