diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-03-17 02:25:39 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-03-17 14:21:58 +0200 |
commit | d920613f6733fdc5931b972177788eb3fbaee6c9 (patch) | |
tree | 0bfb71d951cd154b88bb019f70faf80cf6acefa2 /vcl | |
parent | 3d67719edab741d1a62a3efd2c4e6019957725e1 (diff) |
tdf#106458 Color widget should have same number of rows
... across different platforms/themes, so the standard
palette will always fit without a scrollbar. For this,
we must not hardcode some arbitrary fixed size, but
calculate the size based on the number of rows of the
standard palette.
Change-Id: Ica1d615b43b350aece6b2c29a73337439dd05ac6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/settings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index e500d50bfa8a..456aca3e109e 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -550,7 +550,7 @@ ImplStyleData::ImplStyleData() : maEdgeBlendingBottomRightColor = RGB_COLORDATA(0x40, 0x40, 0x40); mnListBoxMaximumLineCount = 25; mnColorValueSetColumnCount = 12; - mnColorValueSetMaximumRowCount = 20; + mnColorValueSetMaximumRowCount = 8; maListBoxPreviewDefaultLogicSize = Size(15, 7); maListBoxPreviewDefaultPixelSize = Size(0, 0); // on-demand calculated in GetListBoxPreviewDefaultPixelSize() mnListBoxPreviewDefaultLineWidth = 1; |