diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-08-13 12:55:04 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-17 12:30:03 +0000 |
commit | aec11c5204fb0687c0997c597e6b9526246df1a5 (patch) | |
tree | 15a0bfce72c8ce1eee125ac9e095e240a10251fd /svx | |
parent | db0eabe2493bccbb20daf92b5e7df7cd162f7808 (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/17778
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 dd371dfa0861..f490f462002a 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"); |