mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 02:41:01 +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)
|
if (!_separatesColumns)
|
||||||
{
|
{
|
||||||
NSPoint p1,p2;
|
NSPoint p1,p2;
|
||||||
NSRect browserRect;
|
|
||||||
int i, visibleColumns;
|
int i, visibleColumns;
|
||||||
float hScrollerWidth = _hasHorizontalScroller ? scrollerWidth : 0;
|
float hScrollerWidth = _hasHorizontalScroller ? scrollerWidth : 0;
|
||||||
|
|
||||||
// Columns borders
|
// Columns borders
|
||||||
browserRect = NSMakeRect(0, 0, rect.size.width, rect.size.height);
|
NSDrawGrayBezel (_bounds, rect);
|
||||||
NSDrawGrayBezel (browserRect, rect);
|
|
||||||
|
|
||||||
[[NSColor blackColor] set];
|
[[NSColor blackColor] set];
|
||||||
visibleColumns = [self numberOfVisibleColumns];
|
visibleColumns = [self numberOfVisibleColumns];
|
||||||
|
|
Loading…
Reference in a new issue