1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

Adjust layout slightly to avoid specifying width twice

This commit is contained in:
Bartłomiej Dach 2020-11-03 19:03:48 +01:00
parent 1b2bd6a8c9
commit 86d283ebf4

View File

@ -103,20 +103,21 @@ namespace osu.Game.Overlays.Dashboard
{
new FillFlowContainer
{
AutoSizeAxes = Axes.Both,
AutoSizeAxes = Axes.Y,
Direction = FillDirection.Vertical,
Spacing = new Vector2(2),
Width = 290,
Children = new Drawable[]
{
new UserGridPanel(user)
{
Width = 290,
RelativeSizeAxes = Axes.X,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
},
new PurpleTriangleButton
{
Width = 290,
RelativeSizeAxes = Axes.X,
Text = "Watch",
Anchor = Anchor.Centre,
Origin = Anchor.Centre,