[gtksourceview/wip/chergert/vim] tweak observer label



commit cde130103ad57b0b797e3740e9dd0294daf72e3c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Oct 28 10:12:20 2021 -0700

    tweak observer label

 tests/test-vim.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tests/test-vim.c b/tests/test-vim.c
index f3479e47..1625b2ac 100644
--- a/tests/test-vim.c
+++ b/tests/test-vim.c
@@ -29,6 +29,7 @@ static GString *sequence;
 #define OBSERVER_CSS \
   "label.observer {" \
   "    color: white;" \
+  "    font-family: monospace;" \
   "    font-size: 32pt;" \
   "    font-weight: bold;" \
   "    background: #2e3436;" \
@@ -175,6 +176,8 @@ main (int argc,
        observe = g_object_new (GTK_TYPE_LABEL,
                                "halign", GTK_ALIGN_END,
                                "valign", GTK_ALIGN_START,
+                               "wrap", TRUE,
+                               "max-width-chars", 40,
                                "margin-top", 24,
                                "margin-bottom", 24,
                                "margin-end", 24,


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