Author: mlytwyn
Date: Tue Mar 7 18:52:11 2017
New Revision: 40371
URL: http://svn.gna.org/viewcvs/gnustep?rev=40371&view=rev
Log:
Resize table on user resizing of a column
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m?rev=40371&r1=40370&r2=40371&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m Tue Mar
7 18:52:11 2017
@@ -6171,8 +6171,9 @@
- (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
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs