libgimp: fix #11382 oversized export dialog with long comment
When there is a very long comment shown in the export dialog, the dialog expands horizontally. Possibly making it wider than your screen instead of wrapping the text. Let's set word wrapping for the text view. That way the text will wrap at a reasonable length and use the multiline text view instead of just the first line.
This commit is contained in:
parent
5569e40b8c
commit
b3f8ad3eea
1 changed files with 1 additions and 0 deletions
|
|
@ -296,6 +296,7 @@ gimp_export_procedure_dialog_fill_list (GimpProcedureDialog *dialog,
|
|||
gtk_text_view_set_bottom_margin (GTK_TEXT_VIEW (widget), 3);
|
||||
gtk_text_view_set_left_margin (GTK_TEXT_VIEW (widget), 3);
|
||||
gtk_text_view_set_right_margin (GTK_TEXT_VIEW (widget), 3);
|
||||
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (widget), GTK_WRAP_WORD);
|
||||
g_object_unref (buffer);
|
||||
|
||||
tooltip = g_param_spec_get_blurb (pspec);
|
||||
|
|
|
|||
Loading…
Reference in a new issue