mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 03:27:07 +00:00
fixed CPTableView's header view reliance on row height
This commit is contained in:
1 parent
2d69509d5e
commit
1571b6daa2
1 file changed
+2
-2
@@ -244,7 +244,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
|
||||
[self setGridColor:[CPColor grayColor]];
|
||||
[self setGridStyleMask:CPTableViewGridNone];
|
||||
|
||||
_headerView = [[CPTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, [self bounds].size.width, _rowHeight)];
|
||||
_headerView = [[CPTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, [self bounds].size.width, 23.0)];
|
||||
|
||||
[_headerView setTableView:self];
|
||||
|
||||
@@ -3027,7 +3027,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
[self setGridColor:[CPColor grayColor]];
|
||||
[self setGridStyleMask:CPTableViewGridNone];
|
||||
|
||||
_headerView = [[CPTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, [self bounds].size.width, _rowHeight)];
|
||||
_headerView = [[CPTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, [self bounds].size.width, 23.0)];
|
||||
|
||||
[_headerView setTableView:self];
|
||||
|
||||
|
||||
Reference in new issue
Block a user