Hello,
The call to qx.bom.Document.getWidth() and qx.bom.Document.getHeight()
brings back invalid results in Opera (all versions it seems). It brings
back a width and height much bigger than the actual screen size. Calls to
getBounds() work in Opera. Is this a known issue?
/* ************************************************************************
#asset(grfind/*)
************************************************************************ */
qx.Class.define("grfind.Application",
{
extend : qx.application.Standalone,
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
main : function()
{
this.base(arguments);
var app = this;
var doc = app.doc = app.getRoot().set({padding:10,
backgroundColor:"white"});
var manageWindow = new grfind.window.ManageWindow({'app':app});
manageWindow.set({ width:qx.bom.Document.getWidth() * .8,
height:qx.bom.Document.getHeight() * .8});
doc.add( manageWindow, {top:"10%", left:"10%"} );
}
}
});
tom
--
View this message in context:
http://www.nabble.com/opera-does-not-like-qx.bom.Document.getWidth%28%29-8.2-19060-tp23522892p23522892.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel