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

[REBOL] Re: BUG? /View ignores newlines in 'text

From: allen:rebolforces at: 26-Oct-2000 12:32

----- Original Message ----- From: "John Schuhr" <[jschuhr--hotmail--com]> To: <[rebol-list--rebol--com]> Sent: Thursday, October 26, 2000 9:58 AM Subject: [REBOL] BUG? /View ignores newlines in 'text
> In the following code, the newline doesn't get processed > by the 'text component: > > view layout [ > button "Quit" [quit] > text "Hello ^/world!" > ] > > Is this by design or is a real issue? If it's by design, is there > some other way to get newlines into 'text or 'label?
Hi John, This is by design, it allows auto sizing/wrapping of text. If you want the text to include line breaks you can specifiy the as-is facet. view layout [ button "Quit" [quit] text "Hello ^/world!" as-is ] Cheers, Allen K