[Libreoffice-commits] .: vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 7 14:13:30 PDT 2012
vcl/source/window/status.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e4b634fcd6420389fc77d0996d2351211804c865
Author: Ruslan Kabatsayev <b7.10110111 at gmail.com>
Date: Sun Jul 8 21:20:07 2012 +0400
Better center status bar items between separators
Change-Id: I24553dda11b13c323b1a14813530175cdc563f8b
Reviewed-on: https://gerrit.libreoffice.org/298
Reviewed-by: Kohei Yoshida <kohei.yoshida at gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida at gmail.com>
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 51c01c9..23c690a 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 );
More information about the Libreoffice-commits
mailing list