diff options
author | Ruslan Kabatsayev <b7.10110111@gmail.com> | 2012-07-08 21:20:07 +0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-09-07 21:13:11 +0000 |
commit | e4b634fcd6420389fc77d0996d2351211804c865 (patch) | |
tree | 7e9b7eb3236b616b888326849a4c0a64692e9172 /vcl | |
parent | bf8f009cdb233b130363a808e194026f4dd84fc5 (diff) |
Better center status bar items between separators
Change-Id: I24553dda11b13c323b1a14813530175cdc563f8b
Reviewed-on: https://gerrit.libreoffice.org/298
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/status.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |