[REBOL] Re: VID questions
From: brett:codeconscious at: 25-May-2001 23:42
> Ahhh, that's better ... sort of. What if one doesn't know how long a
> scrap of replacement text will be??? I've been wishing and asking of
> there is a way to calculate the rendered size of text so that this could
> be programmed dynamically. No answers so far... :-(
>
Well it is not a great answer but here is a goofey solution: "size-text"
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...
Brett.