mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 22:22: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)
|
if (user.Age != null)
|
||||||
{
|
{
|
||||||
infoTextLeft.AddText($"{user.Age} years old", boldItalic);
|
infoTextLeft.AddText($"{user.Age} years old ", boldItalic);
|
||||||
}
|
}
|
||||||
if (user.Country != null)
|
if (user.Country != null)
|
||||||
{
|
{
|
||||||
infoTextLeft.AddText(" from ");
|
infoTextLeft.AddText("from ");
|
||||||
infoTextLeft.AddText(user.Country.FullName, boldItalic);
|
infoTextLeft.AddText(user.Country.FullName, boldItalic);
|
||||||
}
|
}
|
||||||
infoTextLeft.NewParagraph();
|
infoTextLeft.NewParagraph();
|
||||||
|
@ -42,19 +42,10 @@ namespace osu.Game.Overlays.Profile
|
|||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Margin = new MarginPadding
|
Padding = new MarginPadding
|
||||||
{
|
{
|
||||||
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
Horizontal = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||||
Bottom = 200
|
Bottom = 20
|
||||||
},
|
|
||||||
Children = new Drawable[]
|
|
||||||
{
|
|
||||||
new TextFlowContainer
|
|
||||||
{
|
|
||||||
AutoSizeAxes = Axes.Y,
|
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
Text = "Coming soon!"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
@ -65,6 +56,17 @@ namespace osu.Game.Overlays.Profile
|
|||||||
EdgeSmoothness = new Vector2(1)
|
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