Resize table on user resizing of a column

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40371 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2017-03-07 17:52:11 +00:00
parent 3785f6c572
commit c41ef8cc84

View file

@ -6171,8 +6171,9 @@ This method is deprecated, use -columnIndexesInRect:. */
- (void) _userResizedTableColumn: (NSInteger)index
width: (CGFloat)width
{
_lastRemainingWidth -= (width - [[_tableColumns objectAtIndex: index] width]);
[[_tableColumns objectAtIndex: index] setWidth: width];
[self _sizeLastColumnToFitWidth:[_super_view bounds].size.width];
[self _resizeTableView];
}
- (CGFloat *) _columnOrigins