INTEGRATION: CWS presenterfixes (1.4.2); FILE MERGED

2008/06/11 07:47:56 af 1.4.2.1: #i88837# Adjusting scroll amount.
This commit is contained in:
Rüdiger Timm 2008-07-11 12:42:15 +00:00
parent e7be3e965c
commit e3d96d6731

View file

@ -8,7 +8,7 @@
*
* $RCSfile: PresenterSlideSorter.cxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@ -1679,6 +1679,7 @@ void PresenterSlideSorter::Layout::UpdateScrollBars (void)
+ 2*mnHorizontalBorder);
mpHorizontalScrollBar->SetThumbPosition(mnHorizontalOffset, false);
mpHorizontalScrollBar->SetThumbSize(maBoundingBox.X2 - maBoundingBox.X1 + 1);
mpHorizontalScrollBar->SetLineHeight(maPreviewSize.Width);
}
if (mpVerticalScrollBar.get() != NULL)
{
@ -1688,6 +1689,7 @@ void PresenterSlideSorter::Layout::UpdateScrollBars (void)
+ 2*mnVerticalGap);
mpVerticalScrollBar->SetThumbPosition(mnVerticalOffset, false);
mpVerticalScrollBar->SetThumbSize(maBoundingBox.Y2 - maBoundingBox.Y1 + 1);
mpVerticalScrollBar->SetLineHeight(maPreviewSize.Height);
}
@ -1994,6 +1996,7 @@ OUString PresenterSlideSorter::MouseOverManager::GetFittingText (
geometry::IntegerSize2D PresenterSlideSorter::MouseOverManager::CalculateLabelSize (
const OUString& rsText) const
{