[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - svx/source
Maxim Monastirsky
momonasmon at gmail.com
Thu Aug 13 04:21:39 PDT 2015
svx/source/sidebar/graphic/GraphicPropertyPanel.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4c537dd82b24926bf7b4ed75763af5befcce6702
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Thu Aug 13 12:55:04 2015 +0300
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
index 53806ea..1744613 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");
More information about the Libreoffice-commits
mailing list