[REBOL] Re: window resize and window scroll
From: joel:neely:fedex at: 7-May-2001 23:01
Hi, Larry (and Sterling)...
Larry Palmiter wrote:
> Nice example, but a couple of small probs. The button colors don't change
> and the button is half off window after resize (maybe what was intended?).
> Here's a quick mod which changes button color and keeps the button at the
> bottom right corner.
Change the middle line in the RESIZE case to the following line
> b1/offset: (main-lay/size - (b1/size)) / 2
and the button stays centered.
There's still an intermittent problem on my box here (P200 running
RedHat 7.1); the window flickers to white while dragging to resize.
Sometimes it stays completely white after the mouse is released;
sometimes it is only partly repainted. Perhaps a timing problem
with the last internal redraw event???