[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Wed Feb 22 15:05:46 UTC 2017


 sd/source/ui/sidebar/SlideBackground.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ea1b27b3b579fd2896c5e054422e909c6739ad86
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 22 14:59:58 2017 +0000

    don't lock sidebar size due to long master slide names
    
    Change-Id: I90cbae1cbdea10d5c9bb6678535f73e8419bf8cb

diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index a607ae9..dca73a8 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -118,6 +118,9 @@ SlideBackground::SlideBackground(
     get(mpPaperSizeBox,"paperformat");
     get(mpPaperOrientation, "orientation");
     get(mpMasterSlide, "masterslide");
+    //let the listbox shrink to any size so the sidebar isn't forced to grow to
+    //the size of the longest master slide name in the document
+    mpMasterSlide->set_width_request(0);
     get(mpFillAttr, "fillattr1");
     get(mpFillGrad, "fillattr2");
     get(mpFillStyle, "fillstyle");


More information about the Libreoffice-commits mailing list