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

@ -60,7 +60,7 @@ namespace osu.Game.Overlays.Notifications
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
Direction = FlowDirections.Vertical;
FlowStrategy = FlowStrategies.GetVerticalFlow();
Padding = new MarginPadding
{
@ -91,7 +91,7 @@ namespace osu.Game.Overlays.Notifications
{
Bottom = 5
},
Spacing = new Vector2(5, 0),
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(5, 0)),
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
@ -116,7 +116,7 @@ namespace osu.Game.Overlays.Notifications
RelativeSizeAxes = Axes.X,
LayoutDuration = 150,
LayoutEasing = EasingTypes.OutQuart,
Spacing = new Vector2(3),
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(3)),
}
});
}