1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 09:22:54 +08:00

Reduce paddings and lock in some fixed heights for BeatmapDetails.

This commit is contained in:
Dean Herbert 2017-04-24 18:55:49 +09:00
parent 4fa22146b8
commit d6c5654924
2 changed files with 6 additions and 7 deletions

View File

@ -66,16 +66,16 @@ namespace osu.Game.Screens.Select
{ {
Details = new BeatmapDetails Details = new BeatmapDetails
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.X,
Padding = new MarginPadding(5), Masking = true,
Height = 352,
Alpha = 0, Alpha = 0,
}, },
Leaderboard = new Leaderboard Leaderboard = new Leaderboard
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
} }
}); });
} }
} }
} }

View File

@ -114,7 +114,6 @@ namespace osu.Game.Screens.Select
Direction = FillDirection.Vertical, Direction = FillDirection.Vertical,
LayoutDuration = 200, LayoutDuration = 200,
LayoutEasing = EasingTypes.OutQuint, LayoutEasing = EasingTypes.OutQuint,
Padding = new MarginPadding(10) { Top = 25 },
Children = new [] Children = new []
{ {
description = new MetadataSegment("Description"), description = new MetadataSegment("Description"),
@ -149,8 +148,8 @@ namespace osu.Game.Screens.Select
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Direction = FillDirection.Vertical, Direction = FillDirection.Vertical,
Spacing = new Vector2(0,10), Spacing = new Vector2(0,5),
Padding = new MarginPadding(15) { Top = 25 }, Padding = new MarginPadding(10),
Children = new [] Children = new []
{ {
circleSize = new DifficultyRow("Circle Size", 7), circleSize = new DifficultyRow("Circle Size", 7),