ShowImage: Do not hardcode the font size of the status view.

This commit is contained in:
Augustin Cavalier 2022-08-29 16:10:38 -04:00
parent 87d8b1776f
commit bbee4c3ab6

View File

@ -41,7 +41,7 @@ void
ShowImageStatusView::AttachedToWindow()
{
SetFont(be_plain_font);
SetFontSize(10.0);
SetFontSize(ceilf(be_plain_font->Size() * 0.83f));
BScrollBar* scrollBar = fScrollView->ScrollBar(B_HORIZONTAL);
MoveTo(0.0, scrollBar->Frame().top);