mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 11:12:58 +00:00
Merge pull request #3188 from daboe01/windowcontenviewfix
Fixed: CPWindow setContentView: overlapping the toolbar
This commit is contained in:
1 file changed
+4
@@ -1266,6 +1266,10 @@ CPTexturedBackgroundWindowMask
|
||||
[_contentView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
|
||||
[_windowView addSubview:_contentView];
|
||||
|
||||
// The window view manages the exact layout of the content view (e.g. offsetting for the toolbar).
|
||||
if ([_windowView respondsToSelector:@selector(tile)])
|
||||
[_windowView tile];
|
||||
|
||||
/*
|
||||
If the initial first responder has been set to something other than
|
||||
the window, set it to the window because it will no longer be valid.
|
||||
|
||||
Reference in new issue
Block a user