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:
parent
1b2bd6a8c9
commit
86d283ebf4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user