mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-28 19:08:50 +00:00
in sizeLastColumnToFit make sure we respect min/max widths
This commit is contained in:
1 parent
d2cdd46466
commit
4b653ee367
1 file changed
+1
-1
@@ -1953,7 +1953,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
var columnToResize = _tableColumns[count],
|
||||
newSize = MAX(0.0, superviewSize.width - CGRectGetMinX([self rectOfColumn:count]) - _intercellSpacing.width);
|
||||
|
||||
[columnToResize setWidth:newSize];
|
||||
[columnToResize _tryToResizeToWidth:newSize];
|
||||
}
|
||||
|
||||
[self setNeedsLayout];
|
||||
|
||||
Reference in new issue
Block a user