29 Dec
2022
29 Dec
'22
12:45 a.m.
On Wed Dec 28 23:08:08 2022 +0000, Vladislav Timonin wrote:
Just some padding so that the icon isn't so close to the text. Probably could use a comment. `dis->rcItem.left, dis->rcItem.top` on the left. `dis->rcItem.left - (icon_width / 2), dis->rcItem.top` on the right.  Was pointed out that I shouldn't draw outside `rcItem` and can add padding in `WM_MEASUREITEM` instead. Should've read docs thoroughly enough ,_,
 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1857#note_20183