mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
[COMCTL32] Import wine commit 71cf0a31d99feb to fix the name column width in rapps.
This commit is contained in:
parent
770bf93be3
commit
fb7caa7452
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue