[pygtk] Cannot shrink width of scrolled textview

Jason Heeris jason.heeris at gmail.com
Thu Mar 3 10:44:14 WST 2011


In the attached code, a word-wrapping TextView is placed inside a
ScrolledWindow which has a vertical scrollbar policy of "automatic".
The problem is that if the width of the window is increased to a point
where the scrollbar disappears, it cannot be shrunk again.

The problem goes away if the vertical scrollbar policy is set to
"always" ... but is this how it's meant to work? Or am I not
configuring it right?

This is under PyGTK 2.17, Debian Squeeze.

Cheers,
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtktest.py
Type: text/x-python
Size: 1060 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110303/dd34daad/attachment.py>


More information about the pygtk mailing list