[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sd/source
Ivan Timofeev
ivantimofeev at kemper.freedesktop.org
Sun Dec 18 22:07:38 PST 2011
sd/source/ui/animations/SlideTransitionPane.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 418dcec256481791721fb13fd4cdfe07074403fb
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Mon Dec 19 10:01:29 2011 +0400
impress: slide transition pane: use proper control width
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index bff23fe..6e7862d 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -714,7 +714,7 @@ void SlideTransitionPane::updateLayout()
aCtrlSize = maFT_SOUND.GetSizePixel();
if( bStack )
aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
- aCtrlSize.setWidth( nFTSoundWidth );
+ aCtrlSize.setWidth( nFTSoundWidth - 2 * nOffsetX );
maFT_SOUND.SetPosSizePixel( aUpperLeft, aCtrlSize );
aUpperLeft.setX( nIndent );
@@ -728,7 +728,7 @@ void SlideTransitionPane::updateLayout()
aCtrlSize = maFT_SPEED.GetSizePixel();
if( bStack )
aUpperLeft.setY( aUpperLeft.getY() - aCtrlSize.getHeight());
- aCtrlSize.setWidth( nFTSpeedWidth );
+ aCtrlSize.setWidth( nFTSpeedWidth - 2 * nOffsetX );
maFT_SPEED.SetPosSizePixel( aUpperLeft, aCtrlSize );
// fixed line "Modify Transition"
More information about the Libreoffice-commits
mailing list