Give stages a size again

This commit is contained in:
smoogipoo
2018-01-15 19:44:42 +09:00
parent 8a7892b66a
commit 28586317dd
4 changed files with 8 additions and 10 deletions

View File

@ -47,6 +47,7 @@ namespace osu.Game.Rulesets.Mania.UI
public Column()
: base(ScrollingDirection.Up)
{
RelativeSizeAxes = Axes.Y;
Width = column_width;
InternalChildren = new Drawable[]

View File

@ -55,6 +55,7 @@ namespace osu.Game.Rulesets.Mania.UI
Name = "Stages",
Direction = FillDirection.Horizontal,
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Spacing = new Vector2(stageSpacing),

View File

@ -60,9 +60,13 @@ namespace osu.Game.Rulesets.Mania.UI
this.firstColumnIndex = firstColumnIndex;
this.definition = definition;
Name = "Playfield elements";
Name = "Stage";
Anchor = Anchor.Centre;
Origin = Anchor.Centre;
RelativeSizeAxes = Axes.Y;
AutoSizeAxes = Axes.X;
InternalChildren = new Drawable[]
{
new Container