summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-06 12:02:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-06 14:48:45 +0200
commit10ec02f6fe4cd2c29021b967c255ace3f71424b5 (patch)
treea345b2190bc2095d194d30f422b674cd19bb919a /vcl
parentdee282441f3483c49759caff73ed3e1cde13f58d (diff)
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@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtkdata.cxx4
1 files changed, 2 insertions, 2 deletions
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;"