mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Initialized scroll view with the same rectangle as other controls in OS X startup window
This commit is contained in:
parent
145b7be0a1
commit
64f80456ad
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue