don't do wrapping during edit
2003-04-28 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't do wrapping during edit svn path=/trunk/; revision=20995
This commit is contained in:

committed by
Mike Kestner

parent
8f52c9c406
commit
5283d07d81
@ -482,6 +482,9 @@ build_layout (ECellTextView *text_view, int row, const char *text, gint width)
|
||||
pango_attr_list_unref (attrs);
|
||||
}
|
||||
|
||||
if (text_view->edit)
|
||||
return layout;
|
||||
|
||||
if (width > 0)
|
||||
pango_layout_set_width (layout, width * PANGO_SCALE);
|
||||
pango_layout_set_wrap (layout, PANGO_WRAP_CHAR);
|
||||
|
Reference in New Issue
Block a user