From bbee4c3ab6aa8dea47653013ad194aee9694274f Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 29 Aug 2022 16:10:38 -0400 Subject: [PATCH] ShowImage: Do not hardcode the font size of the status view. --- src/apps/showimage/ShowImageStatusView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/showimage/ShowImageStatusView.cpp b/src/apps/showimage/ShowImageStatusView.cpp index 24e2a8731b..9b565112d1 100644 --- a/src/apps/showimage/ShowImageStatusView.cpp +++ b/src/apps/showimage/ShowImageStatusView.cpp @@ -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);