[gtksourceview] styleschemepreview: tweak selection check



commit b0c618788e98d3391cddade844a8f38c73beba0b
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 12 11:40:25 2021 -0700

    styleschemepreview: tweak selection check
    
    A bit closer to the design.

 gtksourceview/GtkSourceView.css             | 4 ++--
 gtksourceview/gtksourcestyleschemepreview.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/GtkSourceView.css b/gtksourceview/GtkSourceView.css
index 74391307..2ae9da03 100644
--- a/gtksourceview/GtkSourceView.css
+++ b/gtksourceview/GtkSourceView.css
@@ -160,6 +160,6 @@ GtkSourceStyleSchemePreview.selected image {
   border-radius: 9999px;
   background-color: @theme_selected_bg_color;
   color: @theme_selected_fg_color;
-  padding: 3px;
-  margin: 3px;
+  padding: 2px;
+  margin: 6px;
 }
diff --git a/gtksourceview/gtksourcestyleschemepreview.c b/gtksourceview/gtksourcestyleschemepreview.c
index 6b3cd2de..06f9699e 100644
--- a/gtksourceview/gtksourcestyleschemepreview.c
+++ b/gtksourceview/gtksourcestyleschemepreview.c
@@ -198,7 +198,7 @@ gtk_source_style_scheme_preview_constructed (GObject *object)
        label = g_object_new (GTK_TYPE_LABEL, NULL);
        self->image = g_object_new (GTK_TYPE_IMAGE,
                                    "icon-name", "object-select-symbolic",
-                                   "pixel-size", 12,
+                                   "pixel-size", 14,
                                    "halign", GTK_ALIGN_END,
                                    "valign", GTK_ALIGN_END,
                                    "visible", FALSE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]