Update usage of FlowContainer and its subclasses

This commit is contained in:
default0
2017-02-26 21:32:43 +01:00
parent 1b92519a86
commit 8d91519d59
34 changed files with 58 additions and 69 deletions

View File

@ -86,7 +86,7 @@ namespace osu.Game.Beatmaps.Drawables
new FlowContainer
{
Padding = new MarginPadding(5),
Direction = FlowDirections.Horizontal,
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
AutoSizeAxes = Axes.Both,
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
@ -101,15 +101,14 @@ namespace osu.Game.Beatmaps.Drawables
new FlowContainer
{
Padding = new MarginPadding { Left = 5 },
Direction = FlowDirections.Vertical,
FlowStrategy = FlowStrategies.GetVerticalFlow(),
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
new FlowContainer
{
Direction = FlowDirections.Horizontal,
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(4, 0)),
AutoSizeAxes = Axes.Both,
Spacing = new Vector2(4, 0),
Children = new[]
{
new OsuSpriteText