[gtksourceview/wip/chergert/gsv-gtk4: 170/189] view: add spacing for line renderer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 170/189] view: add spacing for line renderer
- Date: Mon, 22 Jun 2020 22:00:18 +0000 (UTC)
commit 9a228db566e1a5d1796cbfef851c9bd8b58e7ab7
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 15 17:23:39 2020 -0700
view: add spacing for line renderer
The iternal line renderer should look a bit better than with just 3. So
instead double this and applications that want something more specific
can add their own lines renderer.
gtksourceview/gtksourceview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 02e4663d..8e7a2fe3 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -2737,7 +2737,7 @@ gtk_source_view_set_show_line_numbers (GtkSourceView *view,
"alignment-mode", GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST,
"yalign", 0.5,
"xalign", 1.0,
- "xpad", 3,
+ "xpad", 6,
NULL);
gtk_source_gutter_insert (gutter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]