diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 12:55:04 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-13 11:21:19 +0000 |
commit | 4c537dd82b24926bf7b4ed75763af5befcce6702 (patch) | |
tree | e289c14f938abf5dfc869bc737e88195fd7f114f /svx | |
parent | f87e86d0d04537df28a127fdabb14b68c52f626c (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
(cherry picked from commit d2f218f54369c6d7fb38d0b701aa86fdf5aae843)
Reviewed-on: https://gerrit.libreoffice.org/17699
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 53806eaad936..1744613ae96a 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"); |