Hi, Widget has a property called element. You can do something similar to this:
myWidget.getElement().style.top myWidget.getElement().style.left ..... If the widget hasn't still been rendered getElement() returns null. Erich Konicek wrote: > > Hi, > my simple question is: > > How can I determine the current position (top/left within the > ClientDocument or the Parent) and the current size (height/width) of an > auto-layout-widget? > > Thanks, Erich > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://www.nabble.com/simple-question---how-to-get-real-position-and-size-of-a-widget--tf3477026.html#a9708417 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
