mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-09 04:07:12 +00:00
made CPTableView aware of a resize in CPTableColumn
This commit is contained in:
@@ -377,6 +377,8 @@ CPTableColumnUserResizingMask = 1 << 1;
|
||||
|
||||
- (void)_postDidResizeNotificationWithOldWidth:(float)oldWidth
|
||||
{
|
||||
[[self tableView] _didResizeTableColumn:self];
|
||||
|
||||
[[CPNotificationCenter defaultCenter]
|
||||
postNotificationName:CPTableViewColumnDidResizeNotification
|
||||
object:[self tableView]
|
||||
|
||||
@@ -846,6 +846,11 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
return _tableColumns[index];
|
||||
}
|
||||
|
||||
- (void)_didResizeTableColumn:(CPTableColumn)theColumn
|
||||
{
|
||||
[self _autosave];
|
||||
}
|
||||
|
||||
//Selecting Columns and Rows
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user