Minor visual adjustments

This commit is contained in:
Andrei Zavatski 2020-07-19 04:10:35 +03:00
parent 753b1f3401
commit 2025e5418c

View File

@ -16,15 +16,14 @@ namespace osu.Game.Users
public UserBrickPanel(User user) public UserBrickPanel(User user)
: base(user) : base(user)
{ {
AutoSizeAxes = Axes.X; AutoSizeAxes = Axes.Both;
Height = 23;
CornerRadius = 6; CornerRadius = 6;
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
Background.FadeTo(0.3f); Background.FadeTo(0.2f);
} }
protected override Drawable CreateLayout() => new FillFlowContainer protected override Drawable CreateLayout() => new FillFlowContainer
@ -34,7 +33,8 @@ namespace osu.Game.Users
Spacing = new Vector2(5, 0), Spacing = new Vector2(5, 0),
Margin = new MarginPadding Margin = new MarginPadding
{ {
Horizontal = 5 Horizontal = 10,
Vertical = 3,
}, },
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,