mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Merge pull request #2503 from enquora/master
Fix CPBox drawing artifacts when used in CPSeparator mode
This commit is contained in:
+5
-1
@@ -630,7 +630,11 @@ var CPBoxTypeKey = @"CPBoxTypeKey",
|
||||
[_contentView setSubviews:[malformedContentView subviews]];
|
||||
[self replaceSubview:malformedContentView with:_contentView];
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
_titlePosition = CPNoTitle;
|
||||
}
|
||||
|
||||
[self setAutoresizesSubviews:YES];
|
||||
[_contentView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user