[pygtk] TreeViewColumn sizing

Daniel Hernández Bahr dbahr at estudiantes.uci.cu
Thu Jan 15 06:34:11 WST 2009


Should, but won't .. 

best regards .. 

----- Original Message -----
From: "Pietro Battiston" <toobaz at email.it>
To: "pygtk" <pygtk at daa.com.au>
Sent: Wednesday, January 14, 2009 2:10:43 PM (GMT-0500) Auto-Detected
Subject: Re: [pygtk] TreeViewColumn sizing

Il giorno mer, 14/01/2009 alle 15.50 -0500, Daniel Hernández Bahr ha
scritto:
> Hullo, everyone!
> 
> my issue is, I have a TreeView with 4 Columns, and it is my interest
> that the last 2 should have the minimal size required (as the last one
> is a small pixbuf and the one before that a 4 digit number), and let
> the first two to get all the size they need (as they represent file
> paths).
> 
> I have tried two set fixed sizes already for the small ones, but it
> doesn't work.

column.set_expand(False) for the two small should do the job

Pietro

_______________________________________________
pygtk mailing list   pygtk at daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

-- 

Daniel Hernández Bahr 
Universidad de las Ciencias Informáticas. 



More information about the pygtk mailing list