The box can't expand or shrink automatically, really - which direction should it shrink?  And that's not generally going to be what's desired, anyway.  Resize the box and the text will reflow.  And set the text alignment to "centre" and it is centred.

On Thu, May 19, 2011 at 8:19 PM, Drechsel Wolf <edv-e@...2623.....> wrote:
Thanks.
Yes, I tried this before - but the background box does not expand (or
shrink) automatically.

Nor does it keep the text centered as it was before.


>> Create and select box (or any object) and text, Text -> Flow into
>> Frame (Alt+W).
>>
> On Thu, May 19, 2011 at 7:31 PM, Drechsel Wolf <edv-e@...2249...
> > wrote:
> Hi everybody,
>
> I searched lists etc., but didnt find an answer to a quite trivial
> question:
>
> I need a text box with a coloured background. It should surround the
> text in a adjustable distance; the background should expand when more
> text is typed into the text box.
>
> Sorry to bore you with such a stupid thing - cant belive this
> "feature" really is for the wishlist?
>
> Greetings,
>
> Wolf


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel