Keep PyGTK Button from Resizing on Label Change

Posted by Cap on Stack Overflow See other posts from Stack Overflow or by Cap
Published on 2010-04-21T00:00:00Z Indexed on 2010/04/21 0:03 UTC
Read the original article Hit count: 177

Filed under:
|
|
|

I'm working on a PyGTK app with some Buttons that, when clicked, give a text entry dialog, then set the text on the button to whatever was entered in the box. The problem is that if the text is longer than the button can show, the button changes size to accomodate. How do I keep GTK Buttons from resizing when the text changes?

© Stack Overflow or respective owner

Related posts about pygtk

Related posts about python