[REBOL] Re: VID questions
From: gscottjones:ho:tmail at: 25-May-2001 9:19
From: "Brett Handley"
> > Ahhh, that's better ... sort of. What if one doesn't know how long
> > scrap of replacement text will be??? I've been wishing and asking
> > there is a way to calculate the rendered size of text so that this
> > be programmed dynamically. No answers so far... :-(
> Well it is not a great answer but here is a goofey solution:
> view layout [
> f1: field [t1/text: copy f1/text t1/size: 2000x2000 t1/size: ( add
> size-text t1 7x0) show t1]
> t1: txt "" black yellow
> but you probably knew that...
Actually, I did not. Never noticed/saw the size-text function. That
should come in handy. Thanks!