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