1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Slightly update design to follow web page.

This commit is contained in:
Huo Yaoyuan 2017-06-14 20:39:58 +08:00
parent 190de76d9a
commit 43542fa5b4
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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);