Set "sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)" the automatic policy for both scrollbars.
--- On Thu, 3/3/11, Jason Heeris <[email protected]> wrote: From: Jason Heeris <[email protected]> Subject: [pygtk] Cannot shrink width of scrolled textview To: "pygtk" <[email protected]> Date: Thursday, March 3, 2011, 4:44 AM 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 -----Inline Attachment Follows----- _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
