Use the correct system metric to size the invisible column-header on the instfiles page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6588 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
695a478725
commit
113be9b813
1 changed files with 1 additions and 1 deletions
|
@ -1678,7 +1678,7 @@ static INT_PTR CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
|
|||
log_printf3(_T("New install of \"%s\" to \"%s\""),GetNSISStringTT(LANG_NAME),state_install_directory);
|
||||
|
||||
GetClientRect(linsthwnd, &r);
|
||||
lvc.cx = r.right - GetSystemMetrics(SM_CXHSCROLL);
|
||||
lvc.cx = r.right - GetSystemMetrics(SM_CXVSCROLL);
|
||||
ListView_InsertColumn(linsthwnd, 0, &lvc);
|
||||
|
||||
ListView_SetExtendedListViewStyleEx(linsthwnd, LVS_EX_LABELTIP, LVS_EX_LABELTIP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue