David Gil Oliva wrote:

Hi!

All cells of a treeview have to be the same height? Is there any way to
make the height of every cell depend on the amount of text it
contains?

Thnx in advance

David Gil

David,
You probably have the "fixed-height-mode" property of your gtk.TreeView set to gtk.TRUE and, thus, all rows have the same height. You can change that property assigning gtk.FALSE to it:
yourtreeview.set-fixed-height-mode=gtk.FALSE
or using the explicit accessor method of the gtk.TreeView class like this:
yourtreeview.set_fixed_height_mode(gtk.FALSE)


gtk.FALSE is the default value for this property, so maybe something set it the other way in your program.

--
Pachi
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to