mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 14:41:28 +00:00
call layoutSubviews when the tableview lays out its subviews.
This commit is contained in:
@@ -817,6 +817,8 @@ var CPScrollerStyleGlobal = CPScrollerStyleOverlay,
|
||||
}
|
||||
|
||||
[self reflectScrolledClipView:_contentView];
|
||||
[documentHeaderView setNeedsLayout];
|
||||
[documentHeaderView setNeedsDisplay:YES];
|
||||
}
|
||||
|
||||
/* @ignore */
|
||||
|
||||
@@ -1513,6 +1513,8 @@ NOT YET IMPLEMENTED
|
||||
|
||||
if ([scrollView isKindOfClass:[CPScrollView class]] && [scrollView documentView] === self)
|
||||
[scrollView _updateCornerAndHeaderView];
|
||||
|
||||
[self setNeedsLayout];
|
||||
}
|
||||
|
||||
// Complexity:
|
||||
@@ -3501,8 +3503,20 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
{
|
||||
[super setNeedsDisplay:aFlag];
|
||||
[_tableDrawView setNeedsDisplay:aFlag];
|
||||
|
||||
[[self headerView] setNeedsDisplay:YES];
|
||||
}
|
||||
|
||||
/*!
|
||||
@ignore
|
||||
*/
|
||||
- (void)setNeedsLayout
|
||||
{
|
||||
[super setNeedsLayout];
|
||||
[[self headerView] setNeedsLayout];
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
@ignore
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user