mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Match web margins
This commit is contained in:
@ -12,6 +12,11 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
{
|
{
|
||||||
public class OverlinedInfoContainer : CompositeDrawable
|
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 Circle line;
|
||||||
private readonly OsuSpriteText title;
|
private readonly OsuSpriteText title;
|
||||||
private readonly OsuSpriteText content;
|
private readonly OsuSpriteText content;
|
||||||
@ -44,6 +49,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Height = 2,
|
Height = 2,
|
||||||
|
Margin = new MarginPadding { Bottom = line_bottom_margin }
|
||||||
},
|
},
|
||||||
title = new OsuSpriteText
|
title = new OsuSpriteText
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user