Set initial size of config window to 800x600

This commit is contained in:
Nathan Sobo
2013-04-17 18:14:05 -06:00
committed by Corey Johnson & Kevin Sawicki
parent 2d00d3e07e
commit 7518864938

View File

@@ -96,6 +96,12 @@
[self setWindowFrameAutosaveName:@"AtomWindow"];
NSColor *background = [NSColor colorWithDeviceRed:(51.0/255.0) green:(51.0/255.0f) blue:(51.0/255.0f) alpha:1.0];
[self.window setBackgroundColor:background];
if (self.isConfig) {
NSRect frame = self.window.frame;
frame.size.width = 800;
frame.size.height = 600;
[self.window setFrame:frame display: YES];
}
[self showWindow:self];
}