1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 13:22:55 +08:00

Fix ProfileSection header margin is too small

This commit is contained in:
Andrei Zavatski 2020-09-07 23:43:26 +03:00
parent c72a192cb5
commit f88b2509f8
4 changed files with 3 additions and 4 deletions

View File

@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Profile
{ {
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN, Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
Top = 15, Top = 15,
Bottom = 10, Bottom = 20,
}, },
Children = new Drawable[] Children = new Drawable[]
{ {

View File

@ -56,7 +56,6 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
} }
} }
protected override APIRequest<List<APIBeatmapSet>> CreateRequest() => protected override APIRequest<List<APIBeatmapSet>> CreateRequest() =>
new GetUserBeatmapsRequest(User.Value.Id, type, VisiblePages++, ItemsPerPage); new GetUserBeatmapsRequest(User.Value.Id, type, VisiblePages++, ItemsPerPage);

View File

@ -50,7 +50,7 @@ namespace osu.Game.Overlays.Profile.Sections
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;
Direction = FillDirection.Vertical; Direction = FillDirection.Vertical;
Children = new Drawable[] Children = new[]
{ {
CreateHeaderContent, CreateHeaderContent,
ItemsContainer = new FillFlowContainer ItemsContainer = new FillFlowContainer

View File

@ -15,7 +15,7 @@ namespace osu.Game.Overlays.Profile.Sections
private PaginatedContainerHeader header; private PaginatedContainerHeader header;
public PaginatedContainerWithHeader(Bindable<User> user, string headerText, CounterVisibilityState counterVisibilityState, string missing = "") protected PaginatedContainerWithHeader(Bindable<User> user, string headerText, CounterVisibilityState counterVisibilityState, string missing = "")
: base(user, missing) : base(user, missing)
{ {
this.headerText = headerText; this.headerText = headerText;