From d4192bf863fdd4bb67b794d5834fbaa9efba658d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 17 Aug 2016 16:27:16 +0200 Subject: Windows: Increase text size limit in RichEdit control to avoid truncating Legal Notices text when displayed. --- src/Common/Dlgcode.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Common/Dlgcode.c') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 30571260..dc59677c 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -3316,6 +3316,9 @@ BOOL CALLBACK TextInfoDialogBoxDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, L { nID = (int) lParam; + // increase size limit of rich edit control + SendMessage(GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_EXLIMITTEXT, 0, -1); + // Left margin for rich edit text field SendMessage (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_SETMARGINS, (WPARAM) EC_LEFTMARGIN, (LPARAM) CompensateXDPI (4)); -- cgit v1.2.3