[go: up one dir, main page]

Menu

#130 Multi-line text does not wrap

open
nobody
None
5
2007-11-04
2007-11-04
Anonymous
No

Field values in multi-line text mode does not wrap. So this feature is almost useless because its effect is addition of scrollbars below input entry.

The patch to fix this in gq-1.2.2 (set text-view auto-wrap-mode at wordbreaks):

Index: src/dt_text.c

--- src/dt_text.c (revision 2)
+++ src/dt_text.c (working copy)
@@ -65,6 +65,8 @@
GtkWidget *scrolled;

inputbox = gtk_text_view_new();
+ g_object_set(inputbox,"wrap-mode",GTK_WRAP_WORD);
+ g_object_set(inputbox,"wrap-mode-set",TRUE);
gtk_widget_show(inputbox);

Discussion


Log in to post a comment.