mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
Windows: Increase text size limit in RichEdit control to avoid truncating Legal Notices text when displayed.
This commit is contained in:
parent
8c963356cb
commit
d4192bf863
@ -3316,6 +3316,9 @@ BOOL CALLBACK TextInfoDialogBoxDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, L
|
|||||||
{
|
{
|
||||||
nID = (int) lParam;
|
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
|
// Left margin for rich edit text field
|
||||||
SendMessage (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_SETMARGINS, (WPARAM) EC_LEFTMARGIN, (LPARAM) CompensateXDPI (4));
|
SendMessage (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), EM_SETMARGINS, (WPARAM) EC_LEFTMARGIN, (LPARAM) CompensateXDPI (4));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user