mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 00:22:58 +00:00
Fixed bug with closable button in CPWindow
This commit is contained in:
1 parent
51d6ba98d7
commit
f8e72504e5
1 file changed
+1
@@ -180,6 +180,7 @@ var _CPStandardWindowViewBodyBackgroundColor = nil,
|
||||
{
|
||||
_closeButton = [[CPButton alloc] initWithFrame:CGRectMake(8.0, 8.0, 16.0, 16.0)];
|
||||
|
||||
[_closeButton setButtonType:CPMomentaryChangeButton];
|
||||
[_closeButton setBordered:NO];
|
||||
[self _updateCloseButton];
|
||||
|
||||
|
||||
Reference in new issue
Block a user