Created
February 28, 2013 18:16
-
-
Save hendricius/5058865 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) resize:(NSDictionary *) properties | |
{ | |
NSRect frame = [self.webView window].frame; | |
frame.size.width = [[properties valueForKey:@"width"] doubleValue]; | |
frame.size.height = [[properties valueForKey:@"height"] doubleValue]; | |
[[self.webView window] setFrame:frame display:YES]; | |
} | |
- (void) resize | |
{ | |
//NSRect frame = [self.webView window].frame; | |
//l = self.webview.window.maxSize; | |
[self.webView.window]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment