use ListBoxPreview size for the color shown in autofilter color list
commitb5c22a9371e22162ff7305ffaa393ed908eee610
authorCaolán McNamara <caolanm@redhat.com>
Wed, 17 Nov 2021 17:07:49 +0000 (17 17:07 +0000)
committerCaolán McNamara <caolanm@redhat.com>
Wed, 17 Nov 2021 19:49:59 +0000 (17 20:49 +0100)
tree9d17e3b7197315efba01b3ea75761c47ff815cfa
parentc3c526e0192b9cf429d326b129ce9e94ec9e346b
use ListBoxPreview size for the color shown in autofilter color list

it's used for a similar case in the color button,
GetToolbarIconSizePixel is relatively narrow and we have a hectare of
space available here.

Draw a border around the color as we do for the similar color button
case.

Change-Id: If0b24a142d47038d02a977ed88281b2de0b529fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125418
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
sc/source/ui/view/gridwin.cxx
svx/source/tbxctrls/tbcontrl.cxx