Skip to content

Commit 4e7c6a1

Browse files
author
henrypp
committed
sizing fix
1 parent 80203f3 commit 4e7c6a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void _app_resizewindow (HWND hwnd, INT width, INT height)
353353
GetClientRect (GetDlgItem (hwnd, IDC_DESCRIPTION_CTL), &rc);
354354

355355
const INT edit_width = (width - listview_width) - _r_dc_getdpi (hwnd, 36);
356-
INT edit_height = (height - (rc.top - rc.bottom) - statusbar_height) - _r_dc_getdpi (hwnd, 40);
356+
INT edit_height = (height - (rc.top - rc.bottom) - statusbar_height) - _r_dc_getdpi (hwnd, 42);
357357
edit_height -= _R_RECT_HEIGHT (&rc);
358358

359359
HDWP hwdp = BeginDeferWindowPos (3);

0 commit comments

Comments
 (0)