diff --git a/osu.Game/GameModes/Play/BeatmapGroup.cs b/osu.Game/GameModes/Play/BeatmapGroup.cs index 8d5ec8f274..8f0b6c6181 100644 --- a/osu.Game/GameModes/Play/BeatmapGroup.cs +++ b/osu.Game/GameModes/Play/BeatmapGroup.cs @@ -59,24 +59,34 @@ namespace osu.Game.GameModes.Play { BeatmapSet = beatmapSet; Alpha = collapsedAlpha; - Children = new Drawable[] + Children = new[] { - new Box - { - Colour = new Color4(0, 0, 0, 0.75f), - RelativeSizeAxes = Axes.Both, - Size = new Vector2(1), - }, topContainer = new FlowContainer { Direction = FlowDirection.VerticalOnly, - Children = new[] { new SpriteText { Text = this.BeatmapSet.Metadata.Title, TextSize = 25 } } + Children = new[] + { + new AutoSizeContainer + { + Children = new Drawable[] + { + new Box + { + Colour = new Color4(0, 0, 0, 0.75f), + RelativeSizeAxes = Axes.Both, + Size = new Vector2(1), + }, + new SpriteText { Text = this.BeatmapSet.Metadata.Title, TextSize = 25 } + } + } + } } }; difficulties = new FlowContainer // Deliberately not added to children { - Spacing = new Vector2(0, 10), + Margin = new MarginPadding { Top = 10 }, Padding = new MarginPadding { Left = 50 }, + Spacing = new Vector2(0, 10), Direction = FlowDirection.VerticalOnly, Children = this.BeatmapSet.Beatmaps.Select(b => new BeatmapButton(this.BeatmapSet, b)) }; diff --git a/osu.Game/GameModes/Play/PlaySongSelect.cs b/osu.Game/GameModes/Play/PlaySongSelect.cs index 86dd38f711..3889c5c0f1 100644 --- a/osu.Game/GameModes/Play/PlaySongSelect.cs +++ b/osu.Game/GameModes/Play/PlaySongSelect.cs @@ -83,6 +83,7 @@ namespace osu.Game.GameModes.Play { Direction = FlowDirection.VerticalOnly, Padding = new MarginPadding(25), + Spacing = new Vector2(0, 25), } } }