Hi Gaurav! > I have a query on the Class "qx.ui.table.Table()" > > I want to set the width of my table releative to the dimension of the > screen, and do not want to hard core the value in pixels, so that it > works for any resolution.
I guess you do not mean "relative to the screen dimension", but to the actual size of the browser window? > I could not find a function GetWidth() in the Class qx.ui.table.Table(). > Once i get the total width, i can set the width of my table to the value > returned by this function. You don't have to do that manually, just use layout managers for that. For example in 0.8, you could add a Composite of width "100%" to the document root and set an HBox as its layout. When you add a table of width "50%" to the composite, the table would always occupy half of the browser window width, automatically adjusting to window resizes. Try it out and adjust it to your needs. Hope that helps, Andreas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel