[Gtk-sharp-list] Wrap column in Gtk.TreeView

Philip Wobst philip.wobst at aastra.com
Thu Aug 6 08:29:13 EDT 2009

Hello all,
I have a simple TreeView with a comment field as the last column. By
default the column will be extended to accomodate the longest text and
without scrolling it is not possible to read the full comment. However,
I would like to have the text wrap at the end of the screen
automatically. I have tried using a SetCellDataFunc and setting the
WrapMode there but for this approack I need to specify a WrapWidth that
can vary due to different screen resolutions.
Is there a setting to limit the size of the treeview to the size of the
widget, that contains the treeview. Any help or suggestions are gladly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090806/b4f5a31f/attachment-0001.html 

More information about the Gtk-sharp-list mailing list