Set dev tools view to the correct size

This commit is contained in:
Corey Johnson 2012-08-29 15:38:10 -07:00
parent 2dbd095cdc
commit 5ff8a5524e

View File

@ -82,7 +82,7 @@
}
else if (_cefClient && _cefClient->GetBrowser()) {
NSRect frame = NSMakeRect(0, 0, _splitView.frame.size.width, _splitView.frame.size.height);
_devToolsView = [[NSView alloc] initWithFrame:NSMakeRect(0,0,0,0)];
_devToolsView = [[NSView alloc] initWithFrame:frame];
[_splitView addSubview:_devToolsView];
[_splitView adjustSubviews];
std::string devtools_url = _cefClient->GetBrowser()->GetHost()->GetDevToolsURL(true);