mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 01:27:29 +08:00
Slightly update design to follow web page.
This commit is contained in:
parent
190de76d9a
commit
43542fa5b4
@ -33,7 +33,7 @@ namespace osu.Game.Users.Profile
|
||||
{
|
||||
this.user = user;
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Height = cover_height + info_height - UserProfile.TAB_HEIGHT;
|
||||
Height = cover_height + info_height;
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -106,7 +106,7 @@ namespace osu.Game.Users.Profile
|
||||
},
|
||||
infoText = new OsuTextFlowContainer(t =>
|
||||
{
|
||||
t.TextSize = 12;
|
||||
t.TextSize = 14;
|
||||
t.Alpha = 0.8f;
|
||||
})
|
||||
{
|
||||
@ -219,7 +219,7 @@ namespace osu.Game.Users.Profile
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Height = info_height - UserProfile.TAB_HEIGHT - 15,
|
||||
Height = info_height - 15,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Users
|
||||
private ProfileSection lastSection;
|
||||
private readonly ProfileTabControl tabs;
|
||||
|
||||
public const float CONTENT_X_MARGIN = 50, TAB_HEIGHT = 24;
|
||||
public const float CONTENT_X_MARGIN = 50;
|
||||
|
||||
public UserProfile(User user)
|
||||
{
|
||||
@ -42,7 +42,7 @@ namespace osu.Game.Users
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Height = TAB_HEIGHT
|
||||
Height = 24
|
||||
};
|
||||
sections.ForEach(tabs.AddItem);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user