[REBOL] Re: Label text
From: greggirwin:mindspring at: 29-Nov-2001 17:47
Hi Donald,
<< Is there a way to control whether a label's text, if more than one word,
is
on one or two lines?
I have a two-word label name that should be on two lines, but the interface
wants to use one line. >>
If you're using 'text for the label, it seems to ignore newlines. I suppose
you could get the width of each word and set the width of the label to the
longer of the two. That should force it to word wrap. Pretty kludgey though.
You might also look at using the area control with an edge of none, since
that will respect newlines.
--Gregg