HaikuDepot: Adjust some hard-coded font sizes.

This commit is contained in:
Augustin Cavalier
2022-10-19 14:23:32 -04:00
parent 41c1669de1
commit 6a4c3457cf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -741,7 +741,7 @@ public:
fItemCount(0)
{
BFont font(be_plain_font);
font.SetSize(9.0f);
font.SetSize(font.Size() * 0.75f);
SetFont(&font);
SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
@@ -751,7 +751,7 @@ public:
// constantly calculating the size is expensive so here a sensible
// upper limit on the number of packages is arbitrarily chosen.
fMinSize = BSize(StringWidth(_DeriveLabel(999999)) + 10,
B_H_SCROLL_BAR_HEIGHT);
be_control_look->GetScrollBarWidth());
}
virtual BSize MinSize()
@@ -168,7 +168,7 @@ UserUsageConditionsWindow::_InitUiControls()
BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
BFont versionFont(be_plain_font);
versionFont.SetSize(9.0);
versionFont.SetSize(versionFont.Size() * 0.75f);
fVersionStringView = new BStringView("version string view",
PLACEHOLDER_TEXT);