[REBOL] Re: tool for resizable windows posted
From: agem:crosswinds at: 30-May-2001 20:02
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 30.05.01, 17:41:40, schrieb "Petr Krenzelok"
zum Thema [REBOL] Re: tool for resizable windows posted:
> ----- Original Message -----
> From: "Volker Nitsch" <[agem--crosswinds--net]>
> To: <[Rebol-list--rebol--com]>
> Sent: Wednesday, May 30, 2001 5:42 PM
> Subject: [REBOL] tool for resizable windows posted
> > http://www.reboltech.com/library/scripts/resize-window.r
> Volker - it is nice, however I dare to comment :-)
allways worthwhile reading you ;-)
> - scrollbar should appear automatically once stuff doesn't fit the
> Or there should be settable option for automatic/manual appearance of
> scrollbars. The best behavior of scrollbars so far is imo in SWIS
> system ...
its modular! *proud*
Scrolling is the job of scroll-face / scroll-pane.
'View-resizable layouts fresh on resize, so they resize automatic.
see rebshet on reb://Volker to test it.
> - you can't lower window size upon your will - there is some strange
> (is it settable?) ...
its set to the initial size of the layout, with
If you make window smaller, 'size-diff can get negativ,
and face-sizez too then.
i found it funny and smart: if you make the window to small in x or y,
it is set to min-size in that dimension.
So it fits exactly the button-menu making window to small. :)
plug it in an old script, and you get the original intended size,
These lines are related:
new-size: max min-size window-layout/size
current-layout-box/pane: fresh-layout1 new-size - min-size
Another way could be to make window smaller, but keep minimum 0x0,
current-layout-box/pane: fresh-layout1 new-size - max 0x0 min-size
would hide core-layout then..
need and good name for option?