Fix alignment and fonts of tem intro screen

This commit is contained in:
Dean Herbert 2018-11-22 16:23:44 +09:00
parent 4e8c7a4dc0
commit fb05ea3de3
1 changed files with 7 additions and 8 deletions

View File

@ -105,8 +105,9 @@ public RoundDisplay(MatchPairing pairing)
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Colour = col,
Font = "Exo2.0-Black",
Text = "COMING UP NEXT",
Font = "Aquatico-Regular",
Spacing = new Vector2(2, 0),
TextSize = 15,
},
new OsuSpriteText
@ -115,7 +116,7 @@ public RoundDisplay(MatchPairing pairing)
Origin = Anchor.TopCentre,
Colour = col,
Text = pairing.Grouping.Value?.Name.Value ?? "Unknown Grouping",
Font = "Aquatico-Light",
Font = "Exo2.0-Light",
Spacing = new Vector2(10, 0),
TextSize = 50,
},
@ -123,7 +124,6 @@ public RoundDisplay(MatchPairing pairing)
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Font = "Aquatico-Light",
Colour = col,
Text = pairing.Date.Value.ToUniversalTime().ToString("dd MMMM HH:mm UTC"),
TextSize = 20,
@ -158,11 +158,10 @@ public TeamWithPlayers(TournamentTeam team, bool left = false)
AutoSizeAxes = Axes.Both,
Spacing = new Vector2(0, 5),
Padding = new MarginPadding(20),
Anchor = !left ? Anchor.CentreRight : Anchor.CentreLeft,
Origin = !left ? Anchor.CentreRight : Anchor.CentreLeft,
Anchor = left ? Anchor.CentreRight : Anchor.CentreLeft,
Origin = left ? Anchor.CentreRight : Anchor.CentreLeft,
RelativePositionAxes = Axes.Both,
X = (left ? -1 : 1) * 0.66f,
},
};
@ -172,7 +171,6 @@ public TeamWithPlayers(TournamentTeam team, bool left = false)
players.Add(new OsuSpriteText
{
Text = p.Username,
Font = "Aquatico-Regular",
TextSize = 24,
Colour = colour,
Anchor = left ? Anchor.CentreRight : Anchor.CentreLeft,
@ -215,6 +213,7 @@ public TeamDisplay(TournamentTeam team, string teamName, Color4 colour)
{
Text = teamName.ToUpper(),
TextSize = 20,
Font = "Aquatico-Regular",
Colour = colour,
Origin = Anchor.TopCentre,
Anchor = Anchor.TopCentre,