https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fb7caa745240b523f6e826...
commit fb7caa745240b523f6e826b60b2c735558f6bd68 Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Tue Feb 13 19:47:58 2018 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Tue Feb 13 19:48:18 2018 +0100
[COMCTL32] Import wine commit 71cf0a31d99feb to fix the name column width in rapps. --- dll/win32/comctl32/listview.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dll/win32/comctl32/listview.c b/dll/win32/comctl32/listview.c index 00c6ba2ad7..94b1fc28b1 100644 --- a/dll/win32/comctl32/listview.c +++ b/dll/win32/comctl32/listview.c @@ -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 */