setIntercellSpacing:
セルの間の幅と高さをセットします
-(void)setIntercellSpacing:(NSSize)aSize:
解説
セルの間の幅と高さをセットします。
初期設定の間隔は(3.0,2.0)です。
返り値
( void )
なし
引数
( NSSize )aSize
セル間のサイズ
フレームワーク
ApplicationKit
クラス
NSTableView
Instance Methods
使用可能
10.0
参照
- intercellSpacing
例文
//アプリケーションのデリゲート //起動直後 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { array = [[NSMutableArray array] retain]; [table setDataSource:self];//テーブルにデータを提供するオブジェクト=self [window makeKeyAndOrderFront:nil]; [form selectTextAtIndex:0]; [table setIntercellSpacing:NSMakeSize(10.0,10.0)]; }