On 2007-09-13, Vincent Schut <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> anyone knows how to change the (default) height of a textview? It seems
> to default to something like 5 or 6 lines, and I can't seem to get it
> shrink. I'd like it to have a height of 3 or 4 lines max, but have no
> idea how to accomplish that... (I've searched the net to no avail).
>

You have to put it in a scrolledwindow and set a wrap mode.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to