[REBOL] Re: BUG? /View ignores newlines in 'text
From: jschuhr:ho:tmail at: 25-Oct-2000 22:12
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: [rebol-list--rebol--com]
Subject: Re: BUG? /View ignores newlines in 'text
----- 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
--
To unsubscribe from this list, please send an email to
[rebol-request--rebol--com] with "unsubscribe" in the
subject, without the quotes.___________________________________________________________
Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com