mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:12:54 +08:00
Align placeholder.
This commit is contained in:
parent
b90c9bcacf
commit
674e2a4395
@ -321,11 +321,11 @@ namespace osu.Game.Overlays.Profile
|
||||
|
||||
if (user.Age != null)
|
||||
{
|
||||
infoTextLeft.AddText($"{user.Age} years old", boldItalic);
|
||||
infoTextLeft.AddText($"{user.Age} years old ", boldItalic);
|
||||
}
|
||||
if (user.Country != null)
|
||||
{
|
||||
infoTextLeft.AddText(" from ");
|
||||
infoTextLeft.AddText("from ");
|
||||
infoTextLeft.AddText(user.Country.FullName, boldItalic);
|
||||
}
|
||||
infoTextLeft.NewParagraph();
|
||||
|
@ -42,19 +42,10 @@ namespace osu.Game.Overlays.Profile
|
||||
Direction = FillDirection.Vertical,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Margin = new MarginPadding
|
||||
Padding = new MarginPadding
|
||||
{
|
||||
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||
Bottom = 200
|
||||
},
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new TextFlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Y,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Text = "Coming soon!"
|
||||
}
|
||||
Bottom = 20
|
||||
}
|
||||
},
|
||||
new Box
|
||||
@ -65,6 +56,17 @@ namespace osu.Game.Overlays.Profile
|
||||
EdgeSmoothness = new Vector2(1)
|
||||
}
|
||||
};
|
||||
|
||||
// placeholder
|
||||
Add(new OsuSpriteText
|
||||
{
|
||||
Text = @"Coming soon!",
|
||||
TextSize = 36,
|
||||
Font = @"Exo2.0-RegularItalic",
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Margin = new MarginPadding { Bottom = 200 }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user