[gnome-software: 4/5] style: Increase the spacing in the Update Preferences




commit b4d8725a9bd7f4c29bfee689cc635da3f85db79e
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon Jul 26 16:35:02 2021 +0200

    style: Increase the spacing in the Update Preferences

 src/gs-prefs-dialog.ui | 3 +++
 src/gtk-style.css      | 7 +++++++
 2 files changed, 10 insertions(+)
---
diff --git a/src/gs-prefs-dialog.ui b/src/gs-prefs-dialog.ui
index 8e8b50c6d..2ccde058f 100644
--- a/src/gs-prefs-dialog.ui
+++ b/src/gs-prefs-dialog.ui
@@ -6,6 +6,9 @@
     <property name="default_width">610</property>
     <property name="default_height">300</property>
     <property name="search_enabled">False</property>
+    <style>
+      <class name="update-preferences"/>
+    </style>
     <child>
       <object class="HdyPreferencesPage">
         <property name="visible">True</property>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index fb74c8234..3e62bdb10 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -573,6 +573,13 @@ scrolledwindow.list-page > viewport > clamp.large > box > preferencesgroup {
   margin-top: 30px;
 }
 
+/* Increase the spacing in the Update Preferences window between the label and
+ * the listbox. */
+
+.update-preferences preferencesgroup > box > box {
+  margin-top: 18px;
+}
+
 /* The following style is taken from libhandy's HdyStatusPage style.
  * FIXME: Drop this style if HdyStatusPage or its GTK 4 successor allows setting
  * a spinner and the updates spinner page can be ported to it. */


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