Initialized scroll view with the same rectangle as other controls in OS X startup window

This commit is contained in:
alexey.lysiuk 2016-02-28 11:13:15 +02:00 committed by Christoph Oelckers
parent 145b7be0a1
commit 64f80456ad

View file

@ -94,7 +94,7 @@ FConsoleWindow::FConsoleWindow()
[textContainer setContainerSize:NSMakeSize(initialWidth, FLT_MAX)]; [textContainer setContainerSize:NSMakeSize(initialWidth, FLT_MAX)];
[textContainer setWidthTracksTextView:YES]; [textContainer setWidthTracksTextView:YES];
[m_scrollView initWithFrame:NSMakeRect(0.0f, 0.0f, initialWidth, initialHeight)]; [m_scrollView initWithFrame:initialRect];
[m_scrollView setBorderType:NSNoBorder]; [m_scrollView setBorderType:NSNoBorder];
[m_scrollView setHasVerticalScroller:YES]; [m_scrollView setHasVerticalScroller:YES];
[m_scrollView setHasHorizontalScroller:NO]; [m_scrollView setHasHorizontalScroller:NO];