Adjust font size

This commit is contained in:
Andrei Zavatski 2020-01-30 10:54:58 +03:00
parent 1c4650c02c
commit b2c501a439
1 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,8 @@ namespace osu.Game.Overlays.Profile.Sections.Recent
{ {
public class DrawableRecentActivity : CompositeDrawable public class DrawableRecentActivity : CompositeDrawable
{ {
private const int font_size = 14;
private IAPIProvider api; private IAPIProvider api;
private readonly APIRecentActivity activity; private readonly APIRecentActivity activity;
@ -62,7 +64,7 @@ private void load(IAPIProvider api, OverlayColourProvider colourProvider)
icon.Origin = Anchor.Centre; icon.Origin = Anchor.Centre;
}) })
}, },
content = new LinkFlowContainer content = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: font_size))
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
@ -74,6 +76,7 @@ private void load(IAPIProvider api, OverlayColourProvider colourProvider)
Anchor = Anchor.CentreRight, Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight, Origin = Anchor.CentreRight,
Colour = colourProvider.Foreground1, Colour = colourProvider.Foreground1,
Font = OsuFont.GetFont(size: font_size),
} }
} }
} }