[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 6 12:49:20 UTC 2021


 vcl/unx/gtk3/gtkdata.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 10ec02f6fe4cd2c29021b967c255ace3f71424b5
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 6 12:02:17 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Oct 6 14:48:45 2021 +0200

    Related: tdf#141633 allow "small-button" elements to shrink further
    
    so they can go smaller to fit small zoom sizes for the table control
    
    Change-Id: I6df47ed57a511e3b00d10075dedfdd9f1edcc477
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123136
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkdata.cxx b/vcl/unx/gtk3/gtkdata.cxx
index d5cc7a5f369b..26fb4328c6cd 100644
--- a/vcl/unx/gtk3/gtkdata.cxx
+++ b/vcl/unx/gtk3/gtkdata.cxx
@@ -455,8 +455,8 @@ static GtkStyleProvider* CreateStyleProvider()
     static const gchar data[] =
       "button.small-button, toolbar.small-button button, box.small-button button, "
       "combobox.small-button *.combo, box#combobox.small-button *.combo, entry.small-button { "
-      "padding: 0; margin-left: 0px; margin-right: 0px;"
-      "min-height: 18px; min-width: 18px; }"
+      "padding: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;"
+      "border-width: 0; min-height: 0; min-width: 0; }"
       "notebook.overflow > header.top > tabs > tab:checked { "
       "box-shadow: none; padding: 0 0 0 0; margin: 0 0 0 0;"
       "border-image: none; border-image-width: 0 0 0 0;"


More information about the Libreoffice-commits mailing list