After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144835 - Need an ellipsizing text renderer
Need an ellipsizing text renderer
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on: 59071
Blocks:
 
 
Reported: 2004-06-22 21:44 UTC by Vincent Untz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2004-06-22 21:44:14 UTC
When you do
  gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);
the text is simply cut at the end of the column. This doesn't look nice and I
think GTK+ should provide a way to ellipsize the text.

The renderer used in gossip does something like this and it really looks nicer.
Comment 1 Federico Mena Quintero 2004-06-23 20:12:19 UTC
This should probably be an attribute of GtkCellRendererText.
Comment 2 Nathan Fredrickson 2004-06-25 23:40:28 UTC
This feature requires the same thing I need to add word-wrapping to
GtkCellRendererText: a way to know the actual width of the column from within
gtk_cell_renderer_text_get_size().

http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00112.html