mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 14:03:29 +01:00
Windows: compact columns size of view reports used in Benchmark and Devices dialogs
This commit is contained in:
parent
8dc1dd2fb4
commit
2f2cb6b7ae
@ -3225,6 +3225,11 @@ BOOL CALLBACK RawDevicesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
|
||||
item.iItem = line++;
|
||||
}
|
||||
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 0, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 1, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 2, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 3, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
|
||||
lpszFileName = pDlgParam->pszFileName;
|
||||
|
||||
#ifdef VOLFORMAT
|
||||
@ -4549,6 +4554,9 @@ static void DisplayBenchmarkResults (HWND hwndDlg)
|
||||
}
|
||||
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 0, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 1, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 2, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
SendMessageW(hList, LVM_SETCOLUMNWIDTH, 3, MAKELPARAM(LVSCW_AUTOSIZE_USEHEADER, 0));
|
||||
}
|
||||
|
||||
// specific implementation for support of benchmark operation in wait dialog mechanism
|
||||
|
Loading…
Reference in New Issue
Block a user