diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-28 12:00:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-28 13:05:11 +0200 |
commit | 6266e83d306ed6e739491b3def2dc453556b14ed (patch) | |
tree | 01403101e0a20a02dcbf097721877f578038014c /sd/source/ui/animations | |
parent | e302ade40e202d285e2208fb6190850e126b4eae (diff) |
Related: tdf#109385 make automatically after: <spinbutton> width narrower
Change-Id: I51d4c0606a5c6317c3f87fd71c61a0dbcdbc3b09
Reviewed-on: https://gerrit.libreoffice.org/42903
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r-- | sd/source/ui/animations/SlideTransitionPane.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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"); |