Rework SpotlightSelector header layout

This commit is contained in:
Andrei Zavatski 2020-07-15 08:27:46 +03:00
parent df9ea5cc2f
commit 0043bd74ba

View File

@ -85,12 +85,18 @@ namespace osu.Game.Overlays.Rankings
Current = Current
}
},
new Container
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]
{
new FillFlowContainer
{
AutoSizeAxes = Axes.Both,
Direction = FillDirection.Horizontal,
Spacing = new Vector2(10, 0),
Margin = new MarginPadding { Vertical = 5 },
Margin = new MarginPadding { Bottom = 5 },
Children = new Drawable[]
{
startDateColumn = new InfoColumn(@"Start Date"),
@ -99,12 +105,7 @@ namespace osu.Game.Overlays.Rankings
participantsColumn = new InfoColumn(@"Participants")
}
},
new Container
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Padding = new MarginPadding { Vertical = 20 },
Child = new RankingsSortTabControl
new RankingsSortTabControl
{
Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight,
@ -115,6 +116,7 @@ namespace osu.Game.Overlays.Rankings
}
}
}
}
});
}