BUG? /View ignores newlines in 'text
[1/4] from: jschuhr::hotmail::com at: 25-Oct-2000 18:58
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?
--John
+--------------------
John Schuhr
[jschuhr--hotmail--com]
+--------------------___________________________________________________________
Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com
[2/4] 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:
<<quoted lines omitted: 4>>
> 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
[3/4] from: jschuhr:hotmai:l 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:
<<quoted lines omitted: 4>>
> 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
[4/4] from: allen:rebolforces at: 26-Oct-2000 23:05
----- Original Message -----
From: "John Schuhr" <[jschuhr--hotmail--com]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, October 26, 2000 1:12 PM
Subject: [REBOL] Re: BUG? /View ignores newlines in 'text
> Thanks Allen,
> Works like a charm.. unfortunately, it also displays the newline
character.
> Is that because of the font?
>
> --John
I've noticed that occur on some platforms with older versions of /View.
The newline char is not showing on my windows box,
if it is showing in a 10.38 build, on whatever platform you are using, let
feedback know.
Cheers,
Allen K
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted