I've got a little problem, i've searched a lot, but i had'nt found ...
here is a screenshot of the "visual problem" : http://jbrout.free.fr/capture.png
i've got a treeview, with a treeviewcolumn which is packed :cellrendererpixbuf + cellrenderertext
but the distance between the pixbuf and the text is different at each row ...
on the leaves, it seems ok
but at the root, the distance is too big
i'm pretty sure it must be simple to rule this (but i hadn't found the trick), so i ask specialists ...
here is the code :
cellpb = gtk.CellRendererPixbuf()
column = gtk.TreeViewColumn("albums", cellpb)
column.set_cell_data_func(cellpb, pixbuf)
cell = gtk.CellRendererText()
column.pack_start(cell, True)
column.set_cell_data_func(cell, filename)
self.treeviewdb.append_column(column)
thanks in advance
marc
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
