[evince] shell: Adding padding to improve readability
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] shell: Adding padding to improve readability
- Date: Sat, 26 Jun 2021 20:42:27 +0000 (UTC)
commit 0ae3f1ca0abb37371776343384ba7f235f2d9269
Author: Jose Santos <happycod3 gmail com>
Date: Sat Apr 10 18:48:24 2021 +0100
shell: Adding padding to improve readability
When adding a note the text view lacks padding, and the text is too
close to the borders.
Fixes #1571
libview/ev-annotation-window.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index c4a973f9..41192125 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -359,6 +359,7 @@ ev_annotation_window_init (EvAnnotationWindow *window)
gspell_text_view_basic_setup (window->spellcheck_view);
#endif
+ gtk_container_set_border_width (GTK_CONTAINER (window->text_view), 6);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (window->text_view), GTK_WRAP_WORD);
g_signal_connect (window->text_view, "state-flags-changed",
G_CALLBACK (text_view_state_flags_changed),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]