[REBOL] Re: percent! - new datatype request
From: ammon:rcslv at: 11-Jun-2002 18:37
<<
Make simple things simple, and complicated things possible
>>
Good philosophy!
<<
If I can imagine changing View to follow that principle, I would favor
something like the following. If you write
view/options layout [... some widget specs...] [resize]
then ALL enclosed widgets would scale proportionally when the container
resizes. I'd add widget-by-widget attributes of
scalex
to mean fixed-height, scaling-width,
scaley
to mean fixed-width, scaling-height, and
noscale
>>
Excellent! I would vote for that functionality over any that I have heard so
far, unfortunately, that is not how it works. The resize flag simply allows
the window to resize, not any of the faces within the window. It does
however trigger the 'resize event which allows you to dynamically change the
size of the faces in the layout (or do anything else you may deem neccisarry
effectively enabling the resizeby example that you gave). Thanks to this
discussion, I am lit up with all kinds of wonderful ideas of how to create
dynamically resizing faces! Now as you can see, RT has fufilled half of your
philosophy, complex things are possible. Now just to get the the simple
things simple part...
Enjoy, my 0.8% of $2.50. ;-)
Ammon