Fred McDavid schrieb:
I've also seen (in a project called RelativeLayers) syntax that looks like:
'100%-10'
That was sometimes pretty handy.
yes this looks nice indeed. I have also used RelativeLayerssome years ago.
Probably we can handle this stuff if we write the new layout code (after
renderer) - yes there are already some other ideas. ;)
Sebastian
--Fred
On Thursday 29 December 2005 05:47 am, Kent Olsson wrote:
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
-------------------------------------------------------
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