Ensure screens respect aspect ratio in tests

This commit is contained in:
Dean Herbert 2020-03-06 16:03:26 +09:00
parent aafdfbca1f
commit ac88ba717b
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ public abstract class TournamentScreen : CompositeDrawable
protected TournamentScreen()
{
RelativeSizeAxes = Axes.Both;
FillMode = FillMode.Fit;
FillAspectRatio = 16 / 9f;
}
public override void Hide() => this.FadeOut(FADE_DELAY);