[COMCTL32] Import wine commit 71cf0a31d99feb to fix the name column width in rapps.

This commit is contained in:
Mark Jansen 2018-02-13 19:47:58 +01:00
parent 770bf93be3
commit fb7caa7452
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -8415,6 +8415,8 @@ static BOOL LISTVIEW_SetColumnWidth(LISTVIEW_INFO *infoPtr, INT nColumn, INT cx)
if (infoPtr->himlSmall && (nColumn == 0 || (LISTVIEW_GetColumnInfo(infoPtr, nColumn)->fmt & LVCFMT_IMAGE)))
max_cx += infoPtr->iconSize.cx;
max_cx += TRAILING_LABEL_PADDING;
if (nColumn == 0 && (infoPtr->dwLvExStyle & LVS_EX_CHECKBOXES))
max_cx += GetSystemMetrics(SM_CXSMICON);
}
/* autosize based on listview items width */