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

[ALLY] Re: Fw: [REBOL] VID and pre-existing faces

From: peoyli:algonet:se at: 19-Apr-2001 15:17

One way to do it: a-face: [origin 0x0 text "A simple face"] view layout [ title "Decorated face" at 10x10 panel a-face with [size: 100x20] ] The only problem is that you have to know the size of the panel to add.. Othwewise: l: layout a-face: [origin 0x0 backcolor green text "A simple face"] view layout [ title "Decorated face" at 10x10 panel a-face with [size: l/size] ] but this probably spends some CPU time for the layout function call.. (and I also noticed that l/size is smaller than the required size to display the text) /PeO