From 62f1f6bb23b23b59c5c5fa845953ff1b824bc0c2 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 8 Jul 2016 00:51:27 -0300 Subject: [PATCH] mouse: set max-content-height on scrolledwindows Instead of using only hardcoded height requests, it's better if we give more flexibility for the content to grow up to a certain amount of pixels. Also, this patch slightly reduces the maximum size by 20px, so that in the tested scenario (Adwaita with Large Font settings on) the panel is still able to size down. https://bugzilla.gnome.org/show_bug.cgi?id=768529 --- panels/mouse/gnome-mouse-properties.ui | 2 +- panels/mouse/gnome-mouse-test.ui | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/mouse/gnome-mouse-properties.ui b/panels/mouse/gnome-mouse-properties.ui index f2622a1a4..40ef3a9ca 100644 --- a/panels/mouse/gnome-mouse-properties.ui +++ b/panels/mouse/gnome-mouse-properties.ui @@ -21,7 +21,7 @@ True none never - 460 + 440 True diff --git a/panels/mouse/gnome-mouse-test.ui b/panels/mouse/gnome-mouse-test.ui index eed928312..911d63515 100644 --- a/panels/mouse/gnome-mouse-test.ui +++ b/panels/mouse/gnome-mouse-test.ui @@ -41,6 +41,7 @@ never always in + 440 True