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

[REBOL] Re: GUI

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