From 6f4bbacca0cc54dbb0e5f356c7d4804baae9eacc Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 7 Aug 2020 13:55:40 -0400 Subject: [PATCH] fix height of win32 inputbox. fixes #145 --- src/drivers/win/Win32InputBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/win/Win32InputBox.cpp b/src/drivers/win/Win32InputBox.cpp index 9306e61f..78cb968a 100644 --- a/src/drivers/win/Win32InputBox.cpp +++ b/src/drivers/win/Win32InputBox.cpp @@ -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);