1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 21:34:36 +08:00

Match web margins

This commit is contained in:
TheWildTree
2020-01-29 22:05:40 +01:00
Unverified
parent 83d5691ba3
commit fa0a96c3f5
@@ -12,6 +12,11 @@ namespace osu.Game.Overlays.Profile.Header.Components
{
public class OverlinedInfoContainer : CompositeDrawable
{
/// <summary>
/// The amount of space between the overline and the underneath text.
/// </summary>
private const float line_bottom_margin = 2;
private readonly Circle line;
private readonly OsuSpriteText title;
private readonly OsuSpriteText content;
@@ -44,6 +49,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
{
RelativeSizeAxes = Axes.X,
Height = 2,
Margin = new MarginPadding { Bottom = line_bottom_margin }
},
title = new OsuSpriteText
{