Minor design adustments (paddings/sizing)

This commit is contained in:
smoogipoo 2021-08-06 17:03:44 +09:00
parent c4a4f2a77a
commit 74bffeac5e
2 changed files with 19 additions and 8 deletions

View File

@ -288,7 +288,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.85f)
Scale = new Vector2(0.8f)
}
}
}

View File

@ -17,12 +17,8 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
public readonly Drawable Background;
protected override Container<Drawable> Content { get; } = new Container
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
AutoSizeAxes = Axes.Both,
};
protected override Container<Drawable> Content => content;
private readonly Container content;
public PillContainer()
{
@ -59,7 +55,22 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
},
Content = new[]
{
new[] { Content }
new[]
{
new Container
{
AutoSizeAxes = Axes.Both,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Padding = new MarginPadding { Bottom = 2 },
Child = content = new Container
{
AutoSizeAxes = Axes.Both,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
}
}
}
}
}
}