----- Original Message -----
From: "John Schuhr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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



-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to