mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Fix ProfileSection header margin is too small
This commit is contained in:
parent
c72a192cb5
commit
f88b2509f8
@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Profile
|
||||
{
|
||||
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||
Top = 15,
|
||||
Bottom = 10,
|
||||
Bottom = 20,
|
||||
},
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user