mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +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
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Y,
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Spacing = new Vector2(2),
|
Spacing = new Vector2(2),
|
||||||
|
Width = 290,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new UserGridPanel(user)
|
new UserGridPanel(user)
|
||||||
{
|
{
|
||||||
Width = 290,
|
RelativeSizeAxes = Axes.X,
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
},
|
},
|
||||||
new PurpleTriangleButton
|
new PurpleTriangleButton
|
||||||
{
|
{
|
||||||
Width = 290,
|
RelativeSizeAxes = Axes.X,
|
||||||
Text = "Watch",
|
Text = "Watch",
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
|
Loading…
Reference in New Issue
Block a user