[pygtk] Re: adjust height of textview

JustFillBug mozbugbox at yahoo.com.au
Fri Sep 14 13:20:04 WST 2007


On 2007-09-13, Vincent Schut <schut at sarvision.nl> 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.



More information about the pygtk mailing list