Tracker: Revert to previous CalcRectCommon bottom calc

... in list mode. Fixes #12997

This bug was introduced in hrev50528 along with new 32x32 icon size
in list mode. I'm not sure what I was thinking on this particular
line but reverting it seems to fix the problem and logically the
original code makes sense.
This commit is contained in:
John Scipione
2018-07-04 14:08:38 -07:00
parent cd417b96c9
commit 6b9353b4a3
+1 -2
View File
@@ -175,8 +175,7 @@ BTextWidget::CalcRectCommon(BPoint poseLoc, const BColumn* column,
break;
}
result.bottom = poseLoc.y
+ roundf((view->ListElemHeight() + view->FontHeight()) / 2);
result.bottom = poseLoc.y + (view->ListElemHeight() - 1);
} else {
if (view->ViewMode() == kIconMode) {
// large/scaled icon mode