diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 12:55:04 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 13:02:09 +0300 |
commit | d2f218f54369c6d7fb38d0b701aa86fdf5aae843 (patch) | |
tree | 7ab1a97eab4b22848ee9aec4191784f77ccb6cbb /svx | |
parent | ea70088895ed45dc60abf18319acc1b4fa3018dd (diff) |
tdf#78111 Sane preferred width for the color mode combobox
Don't let long strings (in some languages) make it request so much space.
Change-Id: I5b2af9d7cc54d1ba772ae75971cfff27bee31a05
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/graphic/GraphicPropertyPanel.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx index 37b6b6961391..2ec906dea87d 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx @@ -58,6 +58,7 @@ GraphicPropertyPanel::GraphicPropertyPanel( get(mpMtrBrightness, "setbrightness"); get(mpMtrContrast, "setcontrast"); get(mpLBColorMode, "setcolormode"); + mpLBColorMode->set_width_request(mpLBColorMode->get_preferred_size().Width()); get(mpMtrTrans, "settransparency"); get(mpMtrRed, "setred"); get(mpMtrGreen, "setgreen"); |