From 9f9aeb843fe137331f3b8c340af00d62aac68793 Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Fri, 9 Jan 2004 11:28:56 +0000 Subject: [PATCH] Cosmetic changes in drawing of column separators and horizontal scroller border. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18344 72102866-910b-0410-8b05-ffd578937521 --- Source/NSBrowser.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/NSBrowser.m b/Source/NSBrowser.m index 69b49d365..ec68301ca 100644 --- a/Source/NSBrowser.m +++ b/Source/NSBrowser.m @@ -1598,7 +1598,7 @@ static NSTextFieldCell *titleCell; { _scrollerRect.origin.x = bs.width; _scrollerRect.origin.y = bs.height - 1; - _scrollerRect.size.width = (_frame.size.width - (2 * bs.width)) + 1; + _scrollerRect.size.width = (_frame.size.width - (2 * bs.width)); _scrollerRect.size.height = scrollerWidth; if (_separatesColumns) @@ -2087,7 +2087,8 @@ static NSTextFieldCell *titleCell; { p1 = NSMakePoint((_columnSize.width * i) + 2 + (i-1), _columnSize.height + scrollerWidth + 2); - p2 = NSMakePoint((_columnSize.width * i) + 2 + (i-1), scrollerWidth + 3); + p2 = NSMakePoint((_columnSize.width * i) + 2 + (i-1), + scrollerWidth + 2); [NSBezierPath strokeLineFromPoint: p1 toPoint: p2]; }