summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-22 14:59:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-22 15:05:19 +0000
commitea1b27b3b579fd2896c5e054422e909c6739ad86 (patch)
tree6a846c4f99d154b97cd16c28fc60ec6111532cdb /sd
parented9af1e4ac0ec6c0371213ea99be62059938ac1b (diff)
don't lock sidebar size due to long master slide names
Change-Id: I90cbae1cbdea10d5c9bb6678535f73e8419bf8cb
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/sidebar/SlideBackground.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index a607ae9d6224..dca73a874c07 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");