[gtksourceview/wip/chergert/gsv-gtk4: 232/259] tests: add a frame around the sourceview




commit 1e44a4112a0492edabbd0633170c2c1029dc976d
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 9 14:15:03 2020 -0700

    tests: add a frame around the sourceview
    
    This will help us catch some rendering artifacts which seem to be
    happening with the GL renderer currently.

 tests/test-widget.ui | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/tests/test-widget.ui b/tests/test-widget.ui
index 7554d81d..1d5f7460 100644
--- a/tests/test-widget.ui
+++ b/tests/test-widget.ui
@@ -428,21 +428,25 @@
       <object class="GtkGrid" id="grid1">
         <property name="row_spacing">3</property>
         <child>
-          <object class="GtkScrolledWindow" id="scrolledwindow1">
-            <property name="width_request">400</property>
-            <property name="height_request">400</property>
-            <property name="can-focus">1</property>
+          <object class="GtkFrame">
             <child>
-              <object class="GtkSourceView" id="view">
-                <property name="buffer">
-                  <object class="GtkSourceBuffer">
+              <object class="GtkScrolledWindow" id="scrolledwindow1">
+                <property name="width_request">400</property>
+                <property name="height_request">400</property>
+                <property name="can-focus">1</property>
+                <child>
+                  <object class="GtkSourceView" id="view">
+                    <property name="buffer">
+                      <object class="GtkSourceBuffer">
+                      </object>
+                    </property>
+                    <property name="visible">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="hexpand">True</property>
+                    <property name="vexpand">True</property>
+                    <property name="monospace">True</property>
                   </object>
-                </property>
-                <property name="visible">True</property>
-                <property name="can-focus">True</property>
-                <property name="hexpand">True</property>
-                <property name="vexpand">True</property>
-                <property name="monospace">True</property>
+                </child>
               </object>
             </child>
           </object>


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