diff --git a/2.x/trunk/phlib/treelist.c b/2.x/trunk/phlib/treelist.c index c79c1135f..41dff50fb 100644 --- a/2.x/trunk/phlib/treelist.c +++ b/2.x/trunk/phlib/treelist.c @@ -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,