[gtk/nana-4/gtk-sidebar-style-fixes: 7/8] gtk-demo: Add .sidebar style class in the main window




commit 56eac4f84651c7a81386386dcff99779b6c88858
Author: nana-4 <hnmaigo gmail com>
Date:   Sun Nov 22 13:51:15 2020 +0900

    gtk-demo: Add .sidebar style class in the main window
    
    So the sidebar can get the proper background and border colors.

 demos/gtk-demo/main.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index 58f8d823d7..484cc63b05 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -47,6 +47,9 @@
       <object class="GtkBox">
         <child>
           <object class="GtkScrolledWindow">
+            <style>
+              <class name="sidebar"/>
+            </style>
             <property name="width-request">120</property>
             <property name="hscrollbar-policy">never</property>
             <property name="min-content-width">150</property>
@@ -89,9 +92,6 @@
             </child>
           </object>
         </child>
-        <child>
-          <object class="GtkSeparator"/>
-        </child>
         <child>
           <object class="GtkNotebook" id="notebook">
             <property name="scrollable">1</property>


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