Wrap column in Gtk.TreeView

View: New views
1 Messages — Rating Filter:   Alert me  

Wrap column in Gtk.TreeView

by Philip Wobst-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 appreciated.
 
Regards,
 
Philip

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list