widget-factory: Remove double border around textview
authorTimm Bäder <mail@baedert.org>
Sun, 6 Oct 2019 11:59:59 +0000 (13:59 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 9 Oct 2019 14:57:22 +0000 (16:57 +0200)
Replace the scrolledwindow border with two separator on top/bottom.

demos/widget-factory/widget-factory.ui

index 84a4e00fabf151ea1010cf84066890f1b7bf8dd7..44f7f2ab7239ef3ce72333d24c1593847ef6028f 100644 (file)
@@ -2133,9 +2133,14 @@ FOO
                                         </child>
                                       </object>
                                     </child>
+                                    <child>
+                                      <object class="GtkSeparator">
+                                        <property name="orientation">horizontal</property>
+                                      </object>
+                                    </child>
                                     <child>
                                       <object class="GtkScrolledWindow">
-                                        <property name="shadow-type">in</property>
+                                        <property name="shadow-type">none</property>
                                         <property name="vexpand">1</property>
                                         <child>
                                           <object class="MyTextView" id="text3">
@@ -2149,6 +2154,11 @@ FOO
                                         </child>
                                       </object>
                                     </child>
+                                    <child>
+                                      <object class="GtkSeparator">
+                                        <property name="orientation">horizontal</property>
+                                      </object>
+                                    </child>
                                     <child>
                                       <object class="GtkStatusbar" id="statusbar"/>
                                     </child>