Leeuw van der, Tim wrote:

Hi John,

Thanks for your answer. I fiddled and fiddled and finally figured out
that I could limit the width of the troublesome columns; then the text
in those columns started to show up and I could see that the newlines
indeed do work.

Now I have problems controlling vertical alignment; also I wonder if
it's possible to get the cell-rendered to wrap text when a line is too
long to fit in the fixed width of a cell?

My problem with vertical alignment is that when 1 field is multi-line
and the others are not, the text of those other cells is centered in the
middle (vertically). I would like it to be at the top of the cell.
How would I achieve that? I've poured through the documentation without
hitting upon and packing option for TreeViewColumns or other option that
would help me achieve that.

Try the CellRenderer "yalign" property.

John
_______________________________________________
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