I would propose the layout handlers setLeft(), setRight(), setTop() and
setBottom() can handle percentage relative positioning as well as
setWidht() and setHeight() are doing today.

Example:

widget.setLeft("10%); // means that the relative position from the left
side, the x coordinate, is 10% of the width of the widget.

This helps a lot when resizing takes place of for example a window. This
problem do I have with the status bar. Another example would be a menu
bar.

One more suggestion:

It would be nice to have a way of relative positioning of a widget child
within a container in relation to the outer border. For example it might
be interesting to have the help menu always 10 pixels from the right
border of a window regardless of resizing of the window.

Example:

widget.setRelativeRight(10); // in this case the widget always will be
10 pixels from the right side.

What do you say Sebastian? Is there any other and better way to do it?

Kent



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to