From 8161d9cf7649e1183e51aaa2525a9c0374205a3d Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Wed, 4 Jul 2018 19:38:54 +0300 Subject: Fix initial width of the color palette in welded picker Problem can be seen with non-gtk3, if the initial palette has no scrollbar (e.g. "standard" palette). The cause is that in non-gtk3 we don't have overlay scrollbars, so the palette area needs to be enlarged when switching from a palette with a scrollbar to a palette without a scrollbar. In practise, this was happening also on initial show, although the palette already had the correct width. To fix that, start with a never scrollbar policy by default, and add the scrollbar later if needed. Change-Id: I5286f301b3c7ef5c72b650290ace784222f7922d Reviewed-on: https://gerrit.libreoffice.org/56995 Reviewed-by: Maxim Monastirsky Tested-by: Maxim Monastirsky --- svx/uiconfig/ui/colorwindow.ui | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx/uiconfig/ui') diff --git a/svx/uiconfig/ui/colorwindow.ui b/svx/uiconfig/ui/colorwindow.ui index 1c2e815eba12..8ec1d1be10ec 100644 --- a/svx/uiconfig/ui/colorwindow.ui +++ b/svx/uiconfig/ui/colorwindow.ui @@ -22,8 +22,6 @@ False - True - True 4 bottom none @@ -106,6 +104,7 @@ True True never + never in -- cgit