Rev | Line | |
---|
[26] | 1 | //
|
---|
| 2 | // NSTableView-NJRExtensions.m
|
---|
| 3 | // HostLauncher
|
---|
| 4 | //
|
---|
| 5 | // Created by Nicholas Riley on Mon Apr 22 2002.
|
---|
| 6 | // Copyright (c) 2002 Nicholas Riley. All rights reserved.
|
---|
| 7 | //
|
---|
| 8 |
|
---|
| 9 | #import "NSTableView-NJRExtensions.h"
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | @implementation NSTableView (NJRExtensions)
|
---|
| 13 |
|
---|
| 14 | - (float)cellHeight;
|
---|
| 15 | {
|
---|
| 16 | return [self rowHeight] + [self intercellSpacing].height;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | // causes NSTableView to get keyboard focus (with thanks to Pierre-Olivier Latour)
|
---|
| 20 | - (BOOL)needsPanelToBecomeKey
|
---|
| 21 | {
|
---|
| 22 | return YES;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | @end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.