[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - svx/source

Maxim Monastirsky momonasmon at gmail.com
Mon Aug 17 05:30:26 PDT 2015


 svx/source/sidebar/graphic/GraphicPropertyPanel.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit aec11c5204fb0687c0997c597e6b9526246df1a5
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/17778
    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 dd371df..f490f46 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