mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:20:37 +00:00
Added methods for drawing tableheader cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5751234b4b
commit
942841a1d4
4 changed files with 21 additions and 6 deletions
|
@ -53,12 +53,7 @@
|
|||
|
||||
- (NSRect) drawingRectForBounds: (NSRect)theRect
|
||||
{
|
||||
NSSize borderSize;
|
||||
|
||||
// This adjustment must match the drawn border
|
||||
borderSize = NSMakeSize(1, 1);
|
||||
|
||||
return NSInsetRect(theRect, borderSize.width, borderSize.height);
|
||||
return [[GSTheme theme] tableHeaderCellDrawingRectForBounds: theRect];
|
||||
}
|
||||
|
||||
- (void) _drawBorderAndBackgroundWithFrame: (NSRect)cellFrame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue