Additional fixes for flow ordering after framework changes

This commit is contained in:
smoogipoo
2018-03-06 17:20:58 +09:00
parent 27e0ed4ea8
commit 78d73d4c11
11 changed files with 63 additions and 45 deletions

View File

@ -45,7 +45,8 @@ namespace osu.Game.Overlays.Settings
if (text == null)
{
// construct lazily for cases where the label is not needed (may be provided by the Control).
Add(text = new OsuSpriteText { Depth = 1 });
Add(text = new OsuSpriteText());
FlowContent.SetLayoutPosition(text, -1);
}
text.Text = value;