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:
parent
ec25a0451d
commit
749fbae043
@ -278,8 +278,7 @@ BPoseView::BPoseView(Model* model, uint32 viewMode)
|
|||||||
fDeskbarFrame(0, 0, -1, -1),
|
fDeskbarFrame(0, 0, -1, -1),
|
||||||
fTextWidgetToCheck(NULL)
|
fTextWidgetToCheck(NULL)
|
||||||
{
|
{
|
||||||
fListElemHeight = std::fmax(ListIconSize(),
|
fListElemHeight = std::fmax(ListIconSize(), ceilf(sFontHeight * 1.2f));
|
||||||
ceilf(sFontHeight) < 20 ? 20 : ceilf(sFontHeight * 1.1f));
|
|
||||||
|
|
||||||
fViewState->SetViewMode(viewMode);
|
fViewState->SetViewMode(viewMode);
|
||||||
fShowSelectionWhenInactive
|
fShowSelectionWhenInactive
|
||||||
|
Loading…
Reference in New Issue
Block a user