[gtk/wip/exalm/polish: 2/7] inspector: Use a GtkSeparator for the object details toolbar




commit 131683fdcfd876a8b967cdfb9f28fac65fc924cc
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 24 02:53:22 2021 +0500

    inspector: Use a GtkSeparator for the object details toolbar
    
    Remove a hardcoded light grey border from the sidebar that was used for
    this.

 gtk/inspector/inspector.css | 4 ----
 gtk/inspector/window.ui     | 6 +++---
 2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gtk/inspector/inspector.css b/gtk/inspector/inspector.css
index 59f6445e4a..aeca38209a 100644
--- a/gtk/inspector/inspector.css
+++ b/gtk/inspector/inspector.css
@@ -22,10 +22,6 @@
   padding: 0 4px;
 }
 
-stacksidebar.object-details {
-  border-top: 1px solid lightgray;
-}
-
 picture.dark {
   background: gray;
 }
diff --git a/gtk/inspector/window.ui b/gtk/inspector/window.ui
index c76af022c6..52ba9f065a 100644
--- a/gtk/inspector/window.ui
+++ b/gtk/inspector/window.ui
@@ -380,6 +380,9 @@
                                 </child>
                               </object>
                             </child>
+                            <child>
+                              <object class="GtkSeparator"/>
+                            </child>
                             <child>
                               <object class="GtkBox">
                                 <child>
@@ -389,9 +392,6 @@
                                     <child>
                                       <object class="GtkStackSidebar">
                                         <property name="stack">object_details</property>
-                                        <style>
-                                          <class name="object-details"/>
-                                        </style>
                                       </object>
                                     </child>
                                   </object>


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