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

[REBOL] Re: FACE questions

From: nitsch-lists:netcologne at: 12-Jan-2003 16:26

Robert M. Muench wrote:
>Hi, I'm playing around with raw faces (no VID) but somehow it doesn't >work as I like. I want to create a face with a text in it. I have tried >something like this: > >>>test: make face [] >>>test/text >>> >== none > >>>test/text: "Hello Robert!" >>> >== "Hello Robert!" > >>>view/offset test 50x50 >>> > >So far so good. But the text is displayed in the title bar not in the >face. Why this? Is this because that's the "top-most" face? > >How do I create an area face? Do I just later set face/style to 'AREA? >Is this sufficient? Robert >
if runtime does not matter, you can use layout[ta: area] then you have the face in ta. throw the layout away, you can use the area-face directly. -volker