From d6c5654924f4b88d07a134d17d185fc98064b682 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 24 Apr 2017 18:55:49 +0900 Subject: [PATCH] Reduce paddings and lock in some fixed heights for BeatmapDetails. --- osu.Game/Screens/Select/BeatmapDetailArea.cs | 8 ++++---- osu.Game/Screens/Select/BeatmapDetails.cs | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/osu.Game/Screens/Select/BeatmapDetailArea.cs b/osu.Game/Screens/Select/BeatmapDetailArea.cs index ae117254fa..26ec74e299 100644 --- a/osu.Game/Screens/Select/BeatmapDetailArea.cs +++ b/osu.Game/Screens/Select/BeatmapDetailArea.cs @@ -66,16 +66,16 @@ namespace osu.Game.Screens.Select { Details = new BeatmapDetails { - RelativeSizeAxes = Axes.Both, - Padding = new MarginPadding(5), + RelativeSizeAxes = Axes.X, + Masking = true, + Height = 352, Alpha = 0, }, Leaderboard = new Leaderboard { RelativeSizeAxes = Axes.Both, - } }); } } -} \ No newline at end of file +} diff --git a/osu.Game/Screens/Select/BeatmapDetails.cs b/osu.Game/Screens/Select/BeatmapDetails.cs index 04f3e89c9b..462f741dae 100644 --- a/osu.Game/Screens/Select/BeatmapDetails.cs +++ b/osu.Game/Screens/Select/BeatmapDetails.cs @@ -114,7 +114,6 @@ namespace osu.Game.Screens.Select Direction = FillDirection.Vertical, LayoutDuration = 200, LayoutEasing = EasingTypes.OutQuint, - Padding = new MarginPadding(10) { Top = 25 }, Children = new [] { description = new MetadataSegment("Description"), @@ -149,8 +148,8 @@ namespace osu.Game.Screens.Select RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, Direction = FillDirection.Vertical, - Spacing = new Vector2(0,10), - Padding = new MarginPadding(15) { Top = 25 }, + Spacing = new Vector2(0,5), + Padding = new MarginPadding(10), Children = new [] { circleSize = new DifficultyRow("Circle Size", 7),