projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21687be
)
psppire-output-view: Add a little extra space to GtkLayout.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 1 Jan 2019 19:12:36 +0000
(11:12 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Jan 2019 06:07:55 +0000
(22:07 -0800)
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.
src/ui/gui/psppire-output-view.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-output-view.c
b/src/ui/gui/psppire-output-view.c
index fc660896d155a98437143ca5d74f961e6097fac7..4205befaeb12c30c2e1016e36cf0fd77c3ed7235 100644
(file)
--- a/
src/ui/gui/psppire-output-view.c
+++ b/
src/ui/gui/psppire-output-view.c
@@
-298,7
+298,9
@@
rerender (struct psppire_output_view *view)
view->y += th;
}
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);
}
cairo_destroy (cr);
}