[gtksourceview] styleschemepreview: tweak font size of preview
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] styleschemepreview: tweak font size of preview
- Date: Tue, 12 Oct 2021 00:37:45 +0000 (UTC)
commit c8c89249d6331ed4f6fc1fc17a329d961c4532b9
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 11 17:37:37 2021 -0700
styleschemepreview: tweak font size of preview
gtksourceview/gtksourcestyleschemepreview.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcestyleschemepreview.c b/gtksourceview/gtksourcestyleschemepreview.c
index 0891d851..a1369621 100644
--- a/gtksourceview/gtksourcestyleschemepreview.c
+++ b/gtksourceview/gtksourcestyleschemepreview.c
@@ -104,7 +104,7 @@ load_override_font (GtkSourceView *view)
#endif
css_provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (css_provider, "textview, textview text { font-family:
BuilderBlocks; font-size: 4pt; }", -1);
+ gtk_css_provider_load_from_data (css_provider, "textview, textview text { font-family:
BuilderBlocks; font-size: 6pt; }", -1);
g_once_init_leave (&initialized, TRUE);
}
@@ -195,7 +195,7 @@ gtk_source_style_scheme_preview_constructed (GObject *object)
"bottom-margin", 12,
"left-margin", 0,
"right-margin", 6,
- "width-request", 100,
+ "width-request", 120,
"show-line-numbers", TRUE,
NULL);
overlay = g_object_new (GTK_TYPE_OVERLAY, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]