mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42: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,
|
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||||
Top = 15,
|
Top = 15,
|
||||||
Bottom = 10,
|
Bottom = 20,
|
||||||
},
|
},
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user