[gtksourceview/wip/chergert/gsv-gtk4: 162/259] view: add spacing for line renderer




commit f7061d4d725bdde2ec5fd2f2ccd2f04f94e0f558
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]