diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-06 12:02:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-06 14:48:45 +0200 |
commit | 10ec02f6fe4cd2c29021b967c255ace3f71424b5 (patch) | |
tree | a345b2190bc2095d194d30f422b674cd19bb919a /vcl | |
parent | dee282441f3483c49759caff73ed3e1cde13f58d (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.cxx | 4 |
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;" |