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

GUI

 [1/3] from: rsaathoff::datajunction::com at: 12-Jun-2001 12:34


Hey all, I was reading the Beginner's Guide to VID and wondered if the dialect provides any way to position the graphical elements, and if so, how to go about doing it. Thanks! Ryan

 [2/3] from: sterling:rebol at: 12-Jun-2001 10:59


Yes it does. For exact positioning: at 200x200 button "Press Me" will put the button at that exact spot. Dialect words like PAD and SPACE affect the layout i na relative way to the items placed: PAD just adds some extra space from where the item would naturally be layed out. SPACE changes the default spacing between elements. across button "Button 1" button "Button 2" return button "Button 3" pad 30x10 button "Button padded" or space 0x0 button "Buttons" button "Smashed" button "Together" You can also use GUIDE to mark a new point for RETURN to return to: button "Above Guide" guide button "The guide" return button "Is Here" return button "Now" You were probably just asking about AT but writing your layout so that everything just lands in the right place without speciying the screen position every time is much cleaner and easier to change. AT has uses but try ont to abuse it. Sterling

 [3/3] from: rsaathoff:datajunction at: 12-Jun-2001 13:21


This is exactly what I needed. Thanks Sterling! Ryan ----- Original Message ----- From: <[sterling--rebol--com]> To: <[rebol-list--rebol--com]> Sent: Tuesday, June 12, 2001 12:59 PM Subject: [REBOL] Re: GUI
> Yes it does. > For exact positioning:
<<quoted lines omitted: 23>>
> > Hey all, > > I was reading the Beginner's Guide to VID and wondered if the dialect
provides any way to position the graphical elements, and if so, how to go about doing it.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted