[gnumeric] GUI: Improve toolbar styling.



commit fd9ddb411929bd59044a4d4050bd3921a4d5241f
Author: Morten Welinder <terra gnome org>
Date:   Thu Jan 20 20:47:42 2022 -0500

    GUI: Improve toolbar styling.
    
    The combo boxes should now look a bit more gtk-like.

 NEWS             |  1 +
 src/gnumeric.css | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)
---
diff --git a/NEWS b/NEWS
index 61ae5641e..dadbbd65b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Gnumeric 1.12.52
 
 Morten:
        * Attach the vertical alignment selector to the toolbar.
+       * Improve the toolbar styling a bit.
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.51
diff --git a/src/gnumeric.css b/src/gnumeric.css
index c1b115893..6cbedf2bd 100644
--- a/src/gnumeric.css
+++ b/src/gnumeric.css
@@ -306,6 +306,27 @@ GnmPane GocLine.pane-resize-guide {
   /* See also GnmPane */
 }
 
+toolbar gocombobox {
+    /* Some spacing to make the arrow appear closer to the (correct) button */
+    padding-left: 3px;
+    padding-right: 3px;
+    margin: 0;
+}
+
+toolbar gocombobox button.toggle {
+    padding: 0;
+}
+
+toolbar combobox button.combo {
+    padding: 0;
+}
+
+toolbar combobox button.combo box {
+    padding: 0;
+    /* Unsure why something isn't symmetric.  */
+    padding-right: 2px;
+}
+
 #endif
 
 /* ------------------------------------------------------------------------- */


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