Currently, the object will grow with a fixed aspect ratio when you type in
more text. It does not shrink if you remove the text (the user has to do
this manually).
The text box is not actually specified as part of the SVG section of the
shape file. There isn't really support for text entry fields in SVG.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Thu, 7 Oct 1999, Arjan J. Molenaar wrote:
>
> > Each custom object can have a text area attached to it
> > (specified with the
> > <textbox> element). You can set the font for this as you would on any
> > other object. The shape will grow if the text does not fit
> > into the text
> > box. None of the circuit shapes I did have a text area
> > attached (the code
> > does work though).
> >
> > Is this what you were wondering about?
>
> Basically: yes.
>
> The problem with text is the kind of element they are connected to:
> 1. elements that grow and shrink as the text grows/shrinks, with or without a fixed
>aspect ratio;
> 2. elements that don't grow nor shrink.
>
> I don't know if SVG supports extentions for these kinds of behaviour, but it would
>simplify the creation of new elements a lot (you don't have to do the C thing
>anymore). If you can shed a light on this matter I'd be thankful.
>
> Arjan
>