mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
[drawRect:] use _bounds instead of rect for NSDrawGrayBezel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19328 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bc140434b3
commit
09960c9dc8
1 changed files with 1 additions and 3 deletions
|
@ -2079,13 +2079,11 @@ static NSTextFieldCell *titleCell;
|
|||
if (!_separatesColumns)
|
||||
{
|
||||
NSPoint p1,p2;
|
||||
NSRect browserRect;
|
||||
int i, visibleColumns;
|
||||
float hScrollerWidth = _hasHorizontalScroller ? scrollerWidth : 0;
|
||||
|
||||
// Columns borders
|
||||
browserRect = NSMakeRect(0, 0, rect.size.width, rect.size.height);
|
||||
NSDrawGrayBezel (browserRect, rect);
|
||||
NSDrawGrayBezel (_bounds, rect);
|
||||
|
||||
[[NSColor blackColor] set];
|
||||
visibleColumns = [self numberOfVisibleColumns];
|
||||
|
|
Loading…
Reference in a new issue