diff --git a/src/kits/tracker/TextWidget.cpp b/src/kits/tracker/TextWidget.cpp index 661474707e..14b61556be 100644 --- a/src/kits/tracker/TextWidget.cpp +++ b/src/kits/tracker/TextWidget.cpp @@ -134,7 +134,8 @@ BTextWidget::ColumnRect(BPoint poseLoc, const BColumn* column, BRect result; result.left = column->Offset() + poseLoc.x; result.right = result.left + column->Width(); - result.bottom = poseLoc.y + view->ListElemHeight() - 1; + result.bottom = poseLoc.y + + roundf((view->ListElemHeight() + view->FontHeight()) / 2); result.top = result.bottom - view->FontHeight(); return result; } @@ -175,7 +176,8 @@ BTextWidget::CalcRectCommon(BPoint poseLoc, const BColumn* column, break; } - result.bottom = poseLoc.y + (view->ListElemHeight() - 1); + result.bottom = poseLoc.y + + roundf((view->ListElemHeight() + view->FontHeight()) / 2); } else { if (view->ViewMode() == kIconMode) { // large/scaled icon mode