Vertically center "coming soon" text

This commit is contained in:
Dean Herbert 2017-07-13 14:24:08 +09:00
parent 4cf409ab35
commit 3c7cd97d42
1 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,7 @@
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using OpenTK.Graphics;
namespace osu.Game.Overlays.Profile
{
@ -60,12 +61,13 @@ protected ProfileSection()
// placeholder
Add(new OsuSpriteText
{
Text = @"Coming soon!",
TextSize = 36,
Font = @"Exo2.0-RegularItalic",
Text = @"coming soon!",
TextSize = 16,
Font = @"Exo2.0-Medium",
Colour = Color4.Gray,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Margin = new MarginPadding { Bottom = 200 }
Margin = new MarginPadding { Top = 100, Bottom = 100 }
});
}
}