fix height of win32 inputbox. fixes #145

This commit is contained in:
zeromus 2020-08-07 13:55:40 -04:00
parent 398cce5f3d
commit 6f4bbacca0
1 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ void CWin32InputBox::InitDialog()
0,
0,
rectDlg.right - rectDlg.left,
rectDlg.bottom - rectDlg.top - (rectEdit1.bottom - rectEdit1.top),
rectDlg.bottom - rectDlg.top - (rectEdit1.bottom - rectEdit1.top) + 16,
SWP_NOMOVE);
}
@ -325,7 +325,7 @@ void CWin32InputBox::InitDialog()
0,
0,
rectDlg.right - rectDlg.left,
rectEdit1.bottom - rectDlg.top + 5,
rectEdit1.bottom - rectDlg.top + 5 + 16,
SWP_NOMOVE);
::ShowWindow(hwndEdit2, SW_HIDE);