sd/source/ui/animations/SlideTransitionPane.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 6266e83d306ed6e739491b3def2dc453556b14ed
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Sep 28 12:00:25 2017 +0100

    Related: tdf#109385 make automatically after: <spinbutton> width narrower
    
    Change-Id: I51d4c0606a5c6317c3f87fd71c61a0dbcdbc3b09
    Reviewed-on: https://gerrit.libreoffice.org/42903
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx 
b/sd/source/ui/animations/SlideTransitionPane.cxx
index f3005661456d..0d8c0ba9c4a8 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -440,6 +440,11 @@ void SlideTransitionPane::Initialize(SdDrawDocument* pDoc)
     get(mpRB_ADVANCE_ON_MOUSE, "rb_mouse_click");
     get(mpRB_ADVANCE_AUTO, "rb_auto_after");
     get(mpMF_ADVANCE_AUTO_AFTER, "auto_after_value");
+    auto nMax = mpMF_ADVANCE_AUTO_AFTER->GetMax();
+    mpMF_ADVANCE_AUTO_AFTER->SetMax(1000);
+    Size aOptimalSize(mpMF_ADVANCE_AUTO_AFTER->CalcMinimumSize());
+    mpMF_ADVANCE_AUTO_AFTER->set_width_request(aOptimalSize.Width());
+    mpMF_ADVANCE_AUTO_AFTER->SetMax(nMax);
     get(mpPB_APPLY_TO_ALL, "apply_to_all");
     get(mpPB_PLAY, "play");
     get(mpCB_AUTO_PREVIEW, "auto_preview");
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to