diff --git a/osu.Game/GameModes/Play/BeatmapGroup.cs b/osu.Game/GameModes/Play/BeatmapGroup.cs index 6b86df329a..e46d42df91 100644 --- a/osu.Game/GameModes/Play/BeatmapGroup.cs +++ b/osu.Game/GameModes/Play/BeatmapGroup.cs @@ -96,7 +96,6 @@ namespace osu.Game.GameModes.Play Alpha = collapsedAlpha; AutoSizeAxes = Axes.Y; RelativeSizeAxes = Axes.X; - Width = 1; float difficultyWidth = 1; Children = new[] { @@ -104,7 +103,6 @@ namespace osu.Game.GameModes.Play { RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Width = 1, Direction = FlowDirection.VerticalOnly, Children = new[] { @@ -122,7 +120,6 @@ namespace osu.Game.GameModes.Play { RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Width = 1, Margin = new MarginPadding { Top = 5 }, Padding = new MarginPadding { Left = 75 }, Spacing = new Vector2(0, 5), @@ -183,7 +180,6 @@ namespace osu.Game.GameModes.Play backgroundImage = new Sprite { RelativeSizeAxes = Axes.X, - Width = 1, Anchor = Anchor.Centre, Origin = Anchor.Centre, }, diff --git a/osu.Game/GameModes/Play/PlaySongSelect.cs b/osu.Game/GameModes/Play/PlaySongSelect.cs index 4f86f46fb4..125364e5e0 100644 --- a/osu.Game/GameModes/Play/PlaySongSelect.cs +++ b/osu.Game/GameModes/Play/PlaySongSelect.cs @@ -80,7 +80,7 @@ namespace osu.Game.GameModes.Play new Container { RelativeSizeAxes = Axes.Both, - Size = new Vector2(1), + Size = Vector2.One, Padding = new MarginPadding { Right = scrollWidth - 200 }, Children = new[] { @@ -114,7 +114,7 @@ namespace osu.Game.GameModes.Play { Padding = new MarginPadding { Left = 25, Top = 25, Bottom = 25 }, RelativeSizeAxes = Axes.X, - Size = new Vector2(1, -1), + AutoSizeAxes = Axes.X, Direction = FlowDirection.VerticalOnly, Spacing = new Vector2(0, 5), }