mirror of https://github.com/ppy/osu
Adjust font size
This commit is contained in:
parent
1c4650c02c
commit
b2c501a439
|
@ -16,6 +16,8 @@ namespace osu.Game.Overlays.Profile.Sections.Recent
|
|||
{
|
||||
public class DrawableRecentActivity : CompositeDrawable
|
||||
{
|
||||
private const int font_size = 14;
|
||||
|
||||
private IAPIProvider api;
|
||||
|
||||
private readonly APIRecentActivity activity;
|
||||
|
@ -62,7 +64,7 @@ private void load(IAPIProvider api, OverlayColourProvider colourProvider)
|
|||
icon.Origin = Anchor.Centre;
|
||||
})
|
||||
},
|
||||
content = new LinkFlowContainer
|
||||
content = new LinkFlowContainer(t => t.Font = OsuFont.GetFont(size: font_size))
|
||||
{
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
|
@ -74,6 +76,7 @@ private void load(IAPIProvider api, OverlayColourProvider colourProvider)
|
|||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
Colour = colourProvider.Foreground1,
|
||||
Font = OsuFont.GetFont(size: font_size),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue