This commit is contained in:
Branimir Karadžić 2015-10-21 20:42:15 -07:00
parent 0c1fb8d7ce
commit 000c75539c

View File

@ -444,7 +444,7 @@ namespace entry
const float centerY = (screenRect.size.height - (float)ENTRY_DEFAULT_HEIGHT)*0.5f;
m_windowAlloc.alloc();
NSRect rect = NSMakeRect(centerX, centerY, 1.0f, 1.0f);
NSRect rect = NSMakeRect(centerX, centerY, ENTRY_DEFAULT_WIDTH, ENTRY_DEFAULT_HEIGHT);
NSWindow* window = [[NSWindow alloc]
initWithContentRect:rect
styleMask:m_style