mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 21:47:31 +09:00
Rework SpotlightSelector header layout
This commit is contained in:
parent
df9ea5cc2f
commit
0043bd74ba
@ -85,30 +85,32 @@ namespace osu.Game.Overlays.Rankings
|
|||||||
Current = Current
|
Current = Current
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
|
||||||
{
|
|
||||||
AutoSizeAxes = Axes.Both,
|
|
||||||
Direction = FillDirection.Horizontal,
|
|
||||||
Spacing = new Vector2(10, 0),
|
|
||||||
Margin = new MarginPadding { Vertical = 5 },
|
|
||||||
Children = new Drawable[]
|
|
||||||
{
|
|
||||||
startDateColumn = new InfoColumn(@"Start Date"),
|
|
||||||
endDateColumn = new InfoColumn(@"End Date"),
|
|
||||||
mapCountColumn = new InfoColumn(@"Map Count"),
|
|
||||||
participantsColumn = new InfoColumn(@"Participants")
|
|
||||||
}
|
|
||||||
},
|
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Padding = new MarginPadding { Vertical = 20 },
|
Children = new Drawable[]
|
||||||
Child = new RankingsSortTabControl
|
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreRight,
|
new FillFlowContainer
|
||||||
Origin = Anchor.CentreRight,
|
{
|
||||||
Current = Sort
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Direction = FillDirection.Horizontal,
|
||||||
|
Spacing = new Vector2(10, 0),
|
||||||
|
Margin = new MarginPadding { Bottom = 5 },
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
startDateColumn = new InfoColumn(@"Start Date"),
|
||||||
|
endDateColumn = new InfoColumn(@"End Date"),
|
||||||
|
mapCountColumn = new InfoColumn(@"Map Count"),
|
||||||
|
participantsColumn = new InfoColumn(@"Participants")
|
||||||
|
}
|
||||||
|
},
|
||||||
|
new RankingsSortTabControl
|
||||||
|
{
|
||||||
|
Anchor = Anchor.CentreRight,
|
||||||
|
Origin = Anchor.CentreRight,
|
||||||
|
Current = Sort
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user