fix height of win32 inputbox. fixes #145
This commit is contained in:
parent
398cce5f3d
commit
6f4bbacca0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue