Adjust tournament map pool layout to allow for larger pools

This commit is contained in:
Dean Herbert 2019-07-27 19:46:46 +09:00
parent 2575884aa3
commit 56dbd94d16
1 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ public MapPoolScreen()
mapFlows = new FillFlowContainer<FillFlowContainer<TournamentBeatmapPanel>> mapFlows = new FillFlowContainer<FillFlowContainer<TournamentBeatmapPanel>>
{ {
Y = 100, Y = 100,
Spacing = new Vector2(10, 20), Spacing = new Vector2(10, 10),
Padding = new MarginPadding(50), Padding = new MarginPadding(25),
Direction = FillDirection.Vertical, Direction = FillDirection.Vertical,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
}, },
@ -218,7 +218,7 @@ private void matchChanged(ValueChangedEvent<TournamentMatch> match)
{ {
mapFlows.Add(currentFlow = new FillFlowContainer<TournamentBeatmapPanel> mapFlows.Add(currentFlow = new FillFlowContainer<TournamentBeatmapPanel>
{ {
Spacing = new Vector2(10, 20), Spacing = new Vector2(10, 5),
Direction = FillDirection.Full, Direction = FillDirection.Full,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y AutoSizeAxes = Axes.Y