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

[REBOL] Re: AW: Re: When to define words

From: brett:codeconscious at: 10-Jul-2001 20:41

> One small question to your sample which works fine (only second one, first > has an error, but doesn't matter)!
Oops. One small change before posting and I mess it up... :)
> Where in this code can i set the offset for the sublayout in your
function? You could use the /offset refinement of the layout function and supply an offset. Or you could set the offset field of the face manually like this: displaysub-layout2: does [ sublayout-input: layout compose [ H2 "Sublayout" backcolor red txt join "Input:" (user-data/user-input) ] ; position in bottom right corner sublayout-input/offset: subtract sublayout/size sublayout-input/size sublayout/pane: sublayout-input show sublayout ] Regards, Brett