[gnumeric] GUI: css update.



commit 29b38faf6f6b5ad74758866126a74b7809d1ba86
Author: Morten Welinder <terra gnome org>
Date:   Wed Feb 10 22:10:52 2016 -0500

    GUI: css update.
    
    The whole css/theming model is utterly broken from the application's
    point of view.

 ChangeLog        |    6 ++++++
 src/gnumeric.css |    5 ++++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 137b37e..6027ba4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-02-10  Morten Welinder  <terra gnome org>
 
+       * src/gnumeric.css (toolbarzone): Set padding for toolbar children
+       to 1px.  While that may be a sligh increase for certain
+       themes/gtk+ versions, it is a large decrease for others, notably
+       what comes with an out-of-the-box OpenSuSE leap.  Override in
+       ~/.config/gtk-3.0/gtk.css if need be.
+
        * src/wbc-gtk.c (cb_scroll_wheel): Use shift modifier with scroll
        wheel for horizontal motion instead of alt.  Window managers tend
        to eat the latter.
diff --git a/src/gnumeric.css b/src/gnumeric.css
index 2fa9444..0779d10 100644
--- a/src/gnumeric.css
+++ b/src/gnumeric.css
@@ -227,7 +227,10 @@ GtkDialog#stf-import fixed-format-ruler {
 /* Extra space around multiple toolbars adds up quickly so avoid it. */
 
 GtkBox.toolbarzone GtkToolbar {
-  padding: 0;
+  padding: 0px;
+}
+GtkBox.toolbarzone GtkToolbar * {
+  padding: 1px;
 }
 
 /* ------------------------------------------------------------------------- */


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