maxWidth
テーブル列の最大幅を返します
解説
テーブル列の最大幅を返します。
返り値
( float )
最大幅
引数
フレームワーク
ApplicationKit
クラス
NSTableColumn
Instance Methods
使用可能
10.0
参照
- minWidth
- width
- setMaxWidth:
- autoresizesAllColumnsToFit (NSTableView)
例文
#import "MyObject.h" @implementation MyObject //myOutlet テーブルビュー //tColumn1 テーブルコラム //tColumn2 テーブルコラム - (IBAction)myAction:(id)sender { NSLog([NSString stringWithFormat:@"%.1f",[tColumn1 maxWidth]]); } @end