mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Update References to FlowStrategies
References now use the Create*-names instead of the outdated Get*-names to create instances of FlowStrategies.
This commit is contained in:
@ -125,7 +125,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
FlowStrategy = FlowStrategies.GetVerticalFlow(),
|
||||
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
|
||||
Margin = new MarginPadding { Top = 10, Left = 25, Right = 10, Bottom = 20 },
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
@ -147,7 +147,7 @@ namespace osu.Game.Screens.Select
|
||||
new FlowContainer
|
||||
{
|
||||
Margin = new MarginPadding { Top = 10 },
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Children = new []
|
||||
{
|
||||
@ -170,7 +170,7 @@ namespace osu.Game.Screens.Select
|
||||
new FlowContainer
|
||||
{
|
||||
Margin = new MarginPadding { Top = 20 },
|
||||
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(40, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateFillFlow(new Vector2(40, 0)),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Children = labels
|
||||
},
|
||||
|
@ -44,7 +44,7 @@ namespace osu.Game.Screens.Select
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight,
|
||||
Width = 0.4f, // TODO: InnerWidth property or something
|
||||
FlowStrategy = FlowStrategies.GetVerticalFlow(),
|
||||
FlowStrategy = FlowStrategies.CreateVerticalFlow(),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
searchTextBox = new SearchTextBox {
|
||||
@ -177,7 +177,7 @@ namespace osu.Game.Screens.Select
|
||||
new FlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(10, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(10, 0)),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new TabItem
|
||||
@ -208,7 +208,7 @@ namespace osu.Game.Screens.Select
|
||||
new FlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(10, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(10, 0)),
|
||||
Origin = Anchor.TopRight,
|
||||
Anchor = Anchor.TopRight,
|
||||
Children = new Drawable[]
|
||||
|
@ -98,13 +98,13 @@ namespace osu.Game.Screens.Select
|
||||
Position = new Vector2(BackButton.SIZE_EXTENDED.X + padding, 0),
|
||||
RelativeSizeAxes = Axes.Y,
|
||||
AutoSizeAxes = Axes.X,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(padding, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(padding, 0)),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
||||
buttons = new FlowContainer
|
||||
{
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(0.2f, 0)),
|
||||
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(0.2f, 0)),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user