Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

Center object & screen res.

 [1/3] from: mail::defiantpc::com at: 3-Jan-2004 18:49

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 viewed in different resolutions (800x600) or (1024x768). -Mj.

 [2/3] from: antonr:iinet:au at: 4-Jan-2004 12:01

center-face eg: view center-face layout [button] Anton.

 [3/3] from: mail:defiantpc at: 3-Jan-2004 19:56

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]]