Thanks Allen,
Works like a charm.. unfortunately, it also displays the newline character.   
Is that because of the font?  

--John



----- Original Message -----
From: Allen Kamp
Sent:  12:00 AM
To: [EMAIL PROTECTED]
Subject: Re: BUG? /View ignores newlines in 'text



----- 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.___________________________________________________________
Get more from your time online.  FREE MSN Explorer download : http://explorer.msn.com

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

Reply via email to