mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
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:
parent
3785f6c572
commit
c41ef8cc84
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue