It can be difficult to see the bottom and right sides of the GtkLayout
because of the scroll bars that, on newer versions of GTK+ 3, seem to
actually overlap part of the content. Add a little extra space around
the output items to make it clearer.
view->y += th;
}
- gtk_layout_set_size (view->output, view->max_width, view->y);
+ gtk_layout_set_size (view->output,
+ view->max_width + view->font_height,
+ view->y + view->font_height);
cairo_destroy (cr);
}