1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02: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,
Top = 15,
Bottom = 10,
Bottom = 20,
},
Children = new Drawable[]
{

View File

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

View File

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

View File

@ -15,7 +15,7 @@ namespace osu.Game.Overlays.Profile.Sections
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)
{
this.headerText = headerText;