[gnome-builder] css: make linked entry/scrollbar styling more consistent



commit 7befc4a43c86f29da0d4cabea96724c8f99558eb
Author: Christian Hergert <christian hergert me>
Date:   Thu Dec 18 16:29:55 2014 -0800

    css: make linked entry/scrollbar styling more consistent

 src/resources/css/builder.Adwaita.css       |    2 +-
 src/resources/ui/gb-document-menu-button.ui |    7 ++++++-
 src/resources/ui/gb-editor-tweak-widget.ui  |    3 +++
 3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/resources/css/builder.Adwaita.css b/src/resources/css/builder.Adwaita.css
index c755fce..311519c 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -197,6 +197,6 @@ GbSourceStyleSchemeWidget GtkSourceView {
 }
 
 
-GbEditorTweakWidget GtkScrolledWindow {
+GtkScrolledWindow.gb-linked-scroller {
     border-top: none;
 }
diff --git a/src/resources/ui/gb-document-menu-button.ui b/src/resources/ui/gb-document-menu-button.ui
index d06efc6..8ad1e4c 100644
--- a/src/resources/ui/gb-document-menu-button.ui
+++ b/src/resources/ui/gb-document-menu-button.ui
@@ -53,7 +53,9 @@
         <property name="orientation">vertical</property>
         <property name="visible">true</property>
         <property name="expand">true</property>
-        <property name="spacing">6</property>
+        <style>
+          <class name="linked"/>
+        </style>
         <child>
           <object class="GtkSearchEntry" id="search_entry">
             <property name="visible">true</property>
@@ -68,6 +70,9 @@
             <property name="shadow_type">in</property>
             <property name="height_request">200</property>
             <property name="width_request">400</property>
+            <style>
+              <class name="gb-linked-scroller"/>
+            </style>
             <child>
               <object class="GtkListBox" id="list_box">
                 <property name="selection-mode">GTK_SELECTION_SINGLE</property>
diff --git a/src/resources/ui/gb-editor-tweak-widget.ui b/src/resources/ui/gb-editor-tweak-widget.ui
index e2bd41c..f1e23c5 100644
--- a/src/resources/ui/gb-editor-tweak-widget.ui
+++ b/src/resources/ui/gb-editor-tweak-widget.ui
@@ -27,6 +27,9 @@
                 <property name="visible">true</property>
                 <property name="expand">true</property>
                 <property name="shadow_type">in</property>
+                <style>
+                  <class name="gb-linked-scroller"/>
+                </style>
                 <child>
                   <object class="GtkListBox" id="list_box">
                     <property name="visible">true</property>


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