mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
hackaround for bold text
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3845 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -1659,7 +1659,14 @@ static VOID PhpCustomDrawPrePaintSubItem(
|
||||
textRect.bottom = origTextRect.bottom - textVertMargin;
|
||||
|
||||
if (font)
|
||||
{
|
||||
// The list view draws bold text without any clipping, somehow
|
||||
// squeezing the text vertically. Here we'll just remove
|
||||
// vertical clipping.
|
||||
textRect.bottom += 10;
|
||||
textFlags &= ~DT_VCENTER;
|
||||
oldFont = SelectObject(CustomDraw->nmcd.hdc, font);
|
||||
}
|
||||
|
||||
DrawText(
|
||||
CustomDraw->nmcd.hdc,
|
||||
|
||||
Reference in New Issue
Block a user