source: releases/Pester/1.0/Source/NSTableView-NJRExtensions.m@ 75

Last change on this file since 75 was 26, checked in by Nicholas Riley, 22 years ago

Pester 1.0b1

File size: 481 bytes
Line 
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.