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 163608 - GtkCellRendererText should support wrapping
GtkCellRendererText should support wrapping
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.6.x
Other All
: Normal enhancement
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
: 163609 (view as bug list)
Depends on: 148144
Blocks:
 
 
Reported: 2005-01-10 22:48 UTC by Matthias Clasen
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
proposed patch (5.79 KB, patch)
2005-01-18 21:27 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2005-01-10 22:48:37 UTC
This is needed when using it in the icon view. It should be as simple as
adding a wrap-mode property, and when it is not none, set the width of the
layout.
Comment 1 Matthias Clasen 2005-01-11 13:02:55 UTC
*** Bug 163609 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2005-01-18 21:27:35 UTC
Created attachment 36214 [details] [review]
proposed patch

The patch adds "wrap" and "wrap-width" properties
Comment 3 Matthias Clasen 2005-01-20 18:48:10 UTC
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	Support wrapping in GtkCellRendererText  (#163608):
	
	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
	Add wrap-mode and wrap-width properties which cause a 
	text cell to break to a specified width when set.

	* gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
	and wrap-width when they are set.