[pygtk] Cannot shrink width of scrolled textview
burebista
blassmegod at yahoo.com
Thu Mar 3 14:46:35 WST 2011
Set "sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)" the automatic policy for both scrollbars.
--- On Thu, 3/3/11, Jason Heeris <jason.heeris at gmail.com> wrote:
From: Jason Heeris <jason.heeris at gmail.com>
Subject: [pygtk] Cannot shrink width of scrolled textview
To: "pygtk" <pygtk at daa.com.au>
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 pygtk at daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110302/de917a00/attachment.html>
More information about the pygtk
mailing list