summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/recentdocsview.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index 1b63ba428268..6c92b459982e 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -261,15 +261,14 @@ void RecentDocsView::Paint( const Rectangle &aRect )
long nTextWidth2 = GetTextWidth(maWelcomeLine2);
const Size & rImgSize = maWelcomeImage.GetSizePixel();
-
const Size & rSize = GetSizePixel();
const int nX = (rSize.Width() - rImgSize.Width())/2;
const int nY = (rSize.Height() - 3 * nTextHeight - rImgSize.Height())/2;
Point aImgPoint(nX, nY);
- Point aStr1Point((rSize.Width() - nTextWidth1)/2, nY + rImgSize.Height() + nTextHeight/2);
- Point aStr2Point((rSize.Width() - nTextWidth2)/2, nY + rImgSize.Height() + nTextHeight + nTextHeight/2);
+ Point aStr1Point((rSize.Width() - nTextWidth1)/2, nY + rImgSize.Height() + 0.7 * nTextHeight);
+ Point aStr2Point((rSize.Width() - nTextWidth2)/2, nY + rImgSize.Height() + 1.7 * nTextHeight);
DrawImage(aImgPoint, rImgSize, maWelcomeImage, IMAGE_DRAW_SEMITRANSPARENT);
DrawText(aStr1Point, maWelcomeLine1);