[REBOL] Re: Center object & screen res.

2004-01-04 Thread Defiant Mail
Its Snowing Here is Chicago b... - Original Message - From: "Carl Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 04, 2004 1:53 PM Subject: [REBOL] Re: Center object & screen res. > > On 05-Jan-04, Defiant Mail wrote: >

[REBOL] Re: Center object & screen res.

2004-01-04 Thread Carl Read
On 05-Jan-04, Defiant Mail wrote: > Carl Your the bomb! > With the small adjustment of removing the 200x100 (to allow for full > screenage) Ah - a bit of test code left in there. :) It is very, very hot in front of a computer in New Zealand at the moment... -- Carl Read -- To unsubscribe f

[REBOL] Re: Center object & screen res.

2004-01-04 Thread Andreas Bolka
Sunday, January 4, 2004, 1:01:23 PM, Defiant wrote: > With the small adjustment of removing the 200x100 (to allow for full > screenage) it works perfectly and its consistent in all screen resolutions. > This information would be an ideal ( how to ) forum entry! ; ) There is still the REBOL co

[REBOL] Re: Center object & screen res.

2004-01-04 Thread SunandaDH
> This information would be an ideal ( how to ) forum entry! ; ) In the (current) absence of a fully-fledged forum, it could just as well be a "how-to" in the REBOL Script Library, eg: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?filter=type-how-to Though it's not a free-for-all forum,

[REBOL] Re: Center object & screen res.

2004-01-04 Thread Defiant Mail
-face layout [ size screen-size b: button "OK" [unview] do [b/offset: screen-size / 2 - (b/size / 2)] ] - Original Message - From: "Carl Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 04, 2004 4:37 AM Subject: [REBOL

[REBOL] Re: Center object & screen res.

2004-01-04 Thread Carl Read
On 04-Jan-04, Defiant Mail wrote: > Tried the below but the button shows up at default (25x25) > Rebol[] > view center-face layout [ > size system/view/screen-face/size > button "OK" [unview]] This I think does what you want... screen-size: 200x100 ;system/view/screen-face/size view center-f

[REBOL] Re: Center object & screen res.

2004-01-03 Thread Defiant Mail
turday, January 03, 2004 7:01 PM Subject: [REBOL] Re: Center object & screen res. > > center-face > > eg: > > view center-face layout [button] > > Anton. > > > Does anybody know how to center a object on the screen. > > > > For example: I have a fu

[REBOL] Re: Center object & screen res.

2004-01-03 Thread Anton Rolls
center-face eg: view center-face layout [button] Anton. > Does anybody know how to center a object on the screen. > > For example: I have a full screen window with a box in it. > How would one make sure the box was always centered on the page > even if the window is resized or viewe