summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-07-04 19:38:54 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2018-07-05 12:42:19 +0200
commit8161d9cf7649e1183e51aaa2525a9c0374205a3d (patch)
tree03eb194eafa50d4716e307c8ab571aa351966186 /salhelper
parent0e83efbccc180c957f77291fc0fdc6dd74eae0f4 (diff)
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 <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'salhelper')
0 files changed, 0 insertions, 0 deletions