Tracker: Fix PoseView list item height computation.

This gets list item margins on HiDPI much closer to their standard-
DPI counterparts.

Fixes #16178.
This commit is contained in:
Augustin Cavalier 2020-07-05 21:02:24 -04:00
parent ec25a0451d
commit 749fbae043

View File

@ -278,8 +278,7 @@ BPoseView::BPoseView(Model* model, uint32 viewMode)
fDeskbarFrame(0, 0, -1, -1),
fTextWidgetToCheck(NULL)
{
fListElemHeight = std::fmax(ListIconSize(),
ceilf(sFontHeight) < 20 ? 20 : ceilf(sFontHeight * 1.1f));
fListElemHeight = std::fmax(ListIconSize(), ceilf(sFontHeight * 1.2f));
fViewState->SetViewMode(viewMode);
fShowSelectionWhenInactive