Leeuw van der, Tim wrote:

Hi,

I have a list view (TreeView with liststore) full of strings. In one of the columns, the strings can have multiple lines. How do I configure a CellRenderer to display multiple lines? So far, the columns become very wide and are all drawn blank, if some of the rows have multiple lines.

The other columns are drawn fine.

The columns with multi-line text mostly contain XML.

Should I create a new CellRenderer type? If so, what type of widget should be in it?

Or should I set some options on the text cell renderer?

If the text has embedded newlines it should be displayed in multiple lines in a Cell RendererText.

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