From e4b634fcd6420389fc77d0996d2351211804c865 Mon Sep 17 00:00:00 2001 From: Ruslan Kabatsayev Date: Sun, 8 Jul 2012 21:20:07 +0400 Subject: Better center status bar items between separators Change-Id: I24553dda11b13c323b1a14813530175cdc563f8b Reviewed-on: https://gerrit.libreoffice.org/298 Reviewed-by: Kohei Yoshida Tested-by: Kohei Yoshida --- vcl/source/window/status.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index 51c01c9ecd68..23c690a18e72 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -479,10 +479,10 @@ void StatusBar::ImplDrawItem( sal_Bool bOffScreen, sal_uInt16 nPos, sal_Bool bDr { // draw separator Point aFrom( aRect.TopLeft() ); - aFrom.X()--; + aFrom.X()-=4; aFrom.Y()++; Point aTo( aRect.BottomLeft() ); - aTo.X()--; + aTo.X()-=4; aTo.Y()--; DecorationView aDecoView( this ); -- cgit