Hi,
thanks, but in my example top and left return an empty string.
I made a small test derived from example/SplitPane_1 and attached it.
In the lower right area is a button who shows the style-values of this area.
top and left are empty.

Erich

dperez schrieb:
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

Title: qooxdoo » Demo » Sample

Test for normal width Splitpane, no holding knobs, live resize enabled.

-------------------------------------------------------------------------
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

Reply via email to