From aaaf7163e0208419171d808deffbf62d5a29d4d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 13 Feb 2017 08:02:14 +0100 Subject: [PATCH] Update framework. --- osu-framework | 2 +- osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs | 2 +- osu.Game.Modes.Osu/Objects/Drawables/HitExplosion.cs | 2 +- osu.Game/Beatmaps/Drawables/BeatmapPanel.cs | 6 +++--- osu.Game/Beatmaps/Drawables/BeatmapSetHeader.cs | 4 ++-- osu.Game/Graphics/UserInterface/OsuDropDownMenuItem.cs | 2 +- osu.Game/Online/Chat/Drawables/ChannelDisplay.cs | 2 +- osu.Game/Overlays/NotificationManager.cs | 2 +- osu.Game/Overlays/Notifications/NotificationSection.cs | 2 +- osu.Game/Overlays/Options/OptionDropDown.cs | 2 +- osu.Game/Overlays/Options/OptionSlider.cs | 2 +- osu.Game/Overlays/Options/OptionsSection.cs | 2 +- osu.Game/Overlays/Options/OptionsSubsection.cs | 4 ++-- osu.Game/Overlays/Options/Sections/General/LoginOptions.cs | 2 +- osu.Game/Overlays/Options/Sidebar.cs | 2 +- osu.Game/Overlays/OptionsOverlay.cs | 6 +++--- osu.Game/Overlays/Pause/PauseOverlay.cs | 4 ++-- osu.Game/Overlays/Toolbar/Toolbar.cs | 4 ++-- osu.Game/Overlays/Toolbar/ToolbarButton.cs | 4 ++-- osu.Game/Overlays/Toolbar/ToolbarModeSelector.cs | 2 +- osu.Game/Screens/GameModeWhiteBox.cs | 2 +- osu.Game/Screens/Menu/Button.cs | 2 +- osu.Game/Screens/Menu/ButtonSystem.cs | 2 +- osu.Game/Screens/Play/KeyCounterCollection.cs | 2 +- osu.Game/Screens/Ranking/Results.cs | 2 +- osu.Game/Screens/Select/BeatmapInfoWedge.cs | 4 ++-- osu.Game/Screens/Select/FilterControl.cs | 6 +++--- osu.Game/Screens/Select/Footer.cs | 4 ++-- 28 files changed, 41 insertions(+), 41 deletions(-) diff --git a/osu-framework b/osu-framework index eae237f6a7e2..4d7f9b8a3afd 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit eae237f6a7e2a6e7d7c621b2382bb08de2b470b8 +Subproject commit 4d7f9b8a3afd32183a31d62143d522d43d8c01ca diff --git a/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs b/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs index 0e83010caf8d..54f395701420 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs @@ -71,7 +71,7 @@ private void initializeChannels() Add(flow = new FlowContainer { RelativeSizeAxes = Axes.Both, - Direction = FlowDirection.VerticalOnly + Direction = FlowDirections.Vertical }); SpriteText loading; diff --git a/osu.Game.Modes.Osu/Objects/Drawables/HitExplosion.cs b/osu.Game.Modes.Osu/Objects/Drawables/HitExplosion.cs index 96360a629113..1a92436d740f 100644 --- a/osu.Game.Modes.Osu/Objects/Drawables/HitExplosion.cs +++ b/osu.Game.Modes.Osu/Objects/Drawables/HitExplosion.cs @@ -24,7 +24,7 @@ public HitExplosion(OsuJudgementInfo judgement, OsuHitObject h = null) AutoSizeAxes = Axes.Both; Origin = Anchor.Centre; - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; Spacing = new Vector2(0, 2); Position = (h?.StackedEndPosition ?? Vector2.Zero) + judgement.PositionOffset; diff --git a/osu.Game/Beatmaps/Drawables/BeatmapPanel.cs b/osu.Game/Beatmaps/Drawables/BeatmapPanel.cs index 1ee9e3e4c251..a6ad0a645702 100644 --- a/osu.Game/Beatmaps/Drawables/BeatmapPanel.cs +++ b/osu.Game/Beatmaps/Drawables/BeatmapPanel.cs @@ -77,7 +77,7 @@ public BeatmapPanel(BeatmapInfo beatmap) new FlowContainer { Padding = new MarginPadding(5), - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, AutoSizeAxes = Axes.Both, Anchor = Anchor.CentreLeft, Origin = Anchor.CentreLeft, @@ -93,13 +93,13 @@ public BeatmapPanel(BeatmapInfo beatmap) { Padding = new MarginPadding { Left = 5 }, Spacing = new Vector2(0, 5), - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, AutoSizeAxes = Axes.Both, Children = new Drawable[] { new FlowContainer { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, AutoSizeAxes = Axes.Both, Spacing = new Vector2(4, 0), Children = new[] diff --git a/osu.Game/Beatmaps/Drawables/BeatmapSetHeader.cs b/osu.Game/Beatmaps/Drawables/BeatmapSetHeader.cs index 3b79d1bf1d6a..a0a7549cafd2 100644 --- a/osu.Game/Beatmaps/Drawables/BeatmapSetHeader.cs +++ b/osu.Game/Beatmaps/Drawables/BeatmapSetHeader.cs @@ -39,7 +39,7 @@ public BeatmapSetHeader(WorkingBeatmap beatmap) }, new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Padding = new MarginPadding { Top = 5, Left = 18, Right = 10, Bottom = 10 }, AutoSizeAxes = Axes.Both, Children = new[] @@ -113,7 +113,7 @@ public PanelBackground(WorkingBeatmap working) new FlowContainer { Depth = -1, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, RelativeSizeAxes = Axes.Both, // This makes the gradient not be perfectly horizontal, but diagonal at a ~40° angle Shear = new Vector2(0.8f, 0), diff --git a/osu.Game/Graphics/UserInterface/OsuDropDownMenuItem.cs b/osu.Game/Graphics/UserInterface/OsuDropDownMenuItem.cs index 1b51177c09c2..bbc8bd3e47e9 100644 --- a/osu.Game/Graphics/UserInterface/OsuDropDownMenuItem.cs +++ b/osu.Game/Graphics/UserInterface/OsuDropDownMenuItem.cs @@ -22,7 +22,7 @@ public OsuDropDownMenuItem(string text, U value) : base(text, value) { new FlowContainer { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, Children = new Drawable[] diff --git a/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs b/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs index 131dc506995d..08630a25aa34 100644 --- a/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs +++ b/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs @@ -42,7 +42,7 @@ public ChannelDisplay(Channel channel) { flow = new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, Spacing = new Vector2(1, 1) diff --git a/osu.Game/Overlays/NotificationManager.cs b/osu.Game/Overlays/NotificationManager.cs index ecfa3daa38ff..cb2025c57642 100644 --- a/osu.Game/Overlays/NotificationManager.cs +++ b/osu.Game/Overlays/NotificationManager.cs @@ -45,7 +45,7 @@ private void load(OsuColour colours) { sections = new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, Children = new [] diff --git a/osu.Game/Overlays/Notifications/NotificationSection.cs b/osu.Game/Overlays/Notifications/NotificationSection.cs index ec286302b879..0f74df18de82 100644 --- a/osu.Game/Overlays/Notifications/NotificationSection.cs +++ b/osu.Game/Overlays/Notifications/NotificationSection.cs @@ -60,7 +60,7 @@ private void load(OsuColour colours) { RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; Padding = new MarginPadding { diff --git a/osu.Game/Overlays/Options/OptionDropDown.cs b/osu.Game/Overlays/Options/OptionDropDown.cs index b9d676109e06..ff1e6ae103ac 100644 --- a/osu.Game/Overlays/Options/OptionDropDown.cs +++ b/osu.Game/Overlays/Options/OptionDropDown.cs @@ -86,7 +86,7 @@ public OptionDropDown() { Items = new KeyValuePair[0]; - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; Children = new Drawable[] diff --git a/osu.Game/Overlays/Options/OptionSlider.cs b/osu.Game/Overlays/Options/OptionSlider.cs index e90da5f0470e..6a41cb96128c 100644 --- a/osu.Game/Overlays/Options/OptionSlider.cs +++ b/osu.Game/Overlays/Options/OptionSlider.cs @@ -35,7 +35,7 @@ public BindableNumber Bindable public OptionSlider() { - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; Padding = new MarginPadding { Right = 5 }; diff --git a/osu.Game/Overlays/Options/OptionsSection.cs b/osu.Game/Overlays/Options/OptionsSection.cs index a1cff0188c10..61cfa868ec80 100644 --- a/osu.Game/Overlays/Options/OptionsSection.cs +++ b/osu.Game/Overlays/Options/OptionsSection.cs @@ -61,7 +61,7 @@ public OptionsSection() FlowContent = new FlowContainer { Margin = new MarginPadding { Top = header_size + header_margin }, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Spacing = new Vector2(0, 30), AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, diff --git a/osu.Game/Overlays/Options/OptionsSubsection.cs b/osu.Game/Overlays/Options/OptionsSubsection.cs index aa17ac7e528e..37cb6d01c1af 100644 --- a/osu.Game/Overlays/Options/OptionsSubsection.cs +++ b/osu.Game/Overlays/Options/OptionsSubsection.cs @@ -21,7 +21,7 @@ public OptionsSubsection() { RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; AddInternal(new Drawable[] { new OsuSpriteText @@ -32,7 +32,7 @@ public OptionsSubsection() }, content = new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, Spacing = new Vector2(0, 5), diff --git a/osu.Game/Overlays/Options/Sections/General/LoginOptions.cs b/osu.Game/Overlays/Options/Sections/General/LoginOptions.cs index 08777c97a7ab..aca9b02f4877 100644 --- a/osu.Game/Overlays/Options/Sections/General/LoginOptions.cs +++ b/osu.Game/Overlays/Options/Sections/General/LoginOptions.cs @@ -101,7 +101,7 @@ private void performLogin() private void load(APIAccess api, OsuConfigManager config) { this.api = api; - Direction = FlowDirection.VerticalOnly; + Direction = FlowDirections.Vertical; AutoSizeAxes = Axes.Y; RelativeSizeAxes = Axes.X; Spacing = new Vector2(0, 5); diff --git a/osu.Game/Overlays/Options/Sidebar.cs b/osu.Game/Overlays/Options/Sidebar.cs index 57865b84a746..f3fe3e168369 100644 --- a/osu.Game/Overlays/Options/Sidebar.cs +++ b/osu.Game/Overlays/Options/Sidebar.cs @@ -42,7 +42,7 @@ public Sidebar() Anchor = Anchor.CentreLeft, AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, - Direction = FlowDirection.VerticalOnly + Direction = FlowDirections.Vertical } } }, diff --git a/osu.Game/Overlays/OptionsOverlay.cs b/osu.Game/Overlays/OptionsOverlay.cs index a93bbc10d3ed..68786b00e803 100644 --- a/osu.Game/Overlays/OptionsOverlay.cs +++ b/osu.Game/Overlays/OptionsOverlay.cs @@ -82,7 +82,7 @@ private void load(OsuGame game, OsuColour colours) { AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Children = new Drawable[] { @@ -103,7 +103,7 @@ private void load(OsuGame game, OsuColour colours) { AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Children = sections, } } @@ -141,7 +141,7 @@ protected override void Update() foreach (OptionsSection section in sections) { - float distance = Math.Abs(scrollContainer.GetChildYInContent(section) - currentScroll); + float distance = Math.Abs(scrollContainer.GetChildPosInContent(section) - currentScroll); if (distance < bestDistance) { bestDistance = distance; diff --git a/osu.Game/Overlays/Pause/PauseOverlay.cs b/osu.Game/Overlays/Pause/PauseOverlay.cs index 43365a610d29..65eb5154a628 100644 --- a/osu.Game/Overlays/Pause/PauseOverlay.cs +++ b/osu.Game/Overlays/Pause/PauseOverlay.cs @@ -104,7 +104,7 @@ private void load(OsuColour colours) { RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Spacing = new Vector2(0f, 50f), Origin = Anchor.Centre, Anchor = Anchor.Centre, @@ -113,7 +113,7 @@ private void load(OsuColour colours) new FlowContainer { AutoSizeAxes = Axes.Both, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Spacing = new Vector2(0f, 20f), Origin = Anchor.TopCentre, Anchor = Anchor.TopCentre, diff --git a/osu.Game/Overlays/Toolbar/Toolbar.cs b/osu.Game/Overlays/Toolbar/Toolbar.cs index dc8b8d1e9a06..7a112ae070e3 100644 --- a/osu.Game/Overlays/Toolbar/Toolbar.cs +++ b/osu.Game/Overlays/Toolbar/Toolbar.cs @@ -43,7 +43,7 @@ public Toolbar() new ToolbarBackground(), new FlowContainer { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, Children = new Drawable[] @@ -63,7 +63,7 @@ public Toolbar() { Anchor = Anchor.TopRight, Origin = Anchor.TopRight, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, Children = new Drawable[] diff --git a/osu.Game/Overlays/Toolbar/ToolbarButton.cs b/osu.Game/Overlays/Toolbar/ToolbarButton.cs index 67b003997125..1b8e68151c79 100644 --- a/osu.Game/Overlays/Toolbar/ToolbarButton.cs +++ b/osu.Game/Overlays/Toolbar/ToolbarButton.cs @@ -84,7 +84,7 @@ public ToolbarButton() }, Flow = new FlowContainer { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Anchor = Anchor.TopCentre, Origin = Anchor.TopCentre, Padding = new MarginPadding { Left = Toolbar.HEIGHT / 2, Right = Toolbar.HEIGHT / 2 }, @@ -107,7 +107,7 @@ public ToolbarButton() }, tooltipContainer = new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, RelativeSizeAxes = Axes.Both, //stops us being considered in parent's autosize Anchor = (TooltipAnchor & Anchor.x0) > 0 ? Anchor.BottomLeft : Anchor.BottomRight, Origin = TooltipAnchor, diff --git a/osu.Game/Overlays/Toolbar/ToolbarModeSelector.cs b/osu.Game/Overlays/Toolbar/ToolbarModeSelector.cs index 0ef56435e658..af543ae559b6 100644 --- a/osu.Game/Overlays/Toolbar/ToolbarModeSelector.cs +++ b/osu.Game/Overlays/Toolbar/ToolbarModeSelector.cs @@ -38,7 +38,7 @@ public ToolbarModeSelector() { RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Anchor = Anchor.TopCentre, Origin = Anchor.TopCentre, Padding = new MarginPadding { Left = 10, Right = 10 }, diff --git a/osu.Game/Screens/GameModeWhiteBox.cs b/osu.Game/Screens/GameModeWhiteBox.cs index 0cda73f2254e..b72a352ef979 100644 --- a/osu.Game/Screens/GameModeWhiteBox.cs +++ b/osu.Game/Screens/GameModeWhiteBox.cs @@ -126,7 +126,7 @@ public GameModeWhiteBox() }, childModeButtons = new FlowContainer { - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Anchor = Anchor.TopRight, Origin = Anchor.TopRight, RelativeSizeAxes = Axes.Both, diff --git a/osu.Game/Screens/Menu/Button.cs b/osu.Game/Screens/Menu/Button.cs index 7e1db7320536..14d957733a49 100644 --- a/osu.Game/Screens/Menu/Button.cs +++ b/osu.Game/Screens/Menu/Button.cs @@ -114,7 +114,7 @@ public Button(string text, string internalName, FontAwesome symbol, Color4 colou new OsuSpriteText { Shadow = true, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Anchor = Anchor.Centre, Origin = Anchor.Centre, TextSize = 16, diff --git a/osu.Game/Screens/Menu/ButtonSystem.cs b/osu.Game/Screens/Menu/ButtonSystem.cs index 6d720569df60..9a84a7933371 100644 --- a/osu.Game/Screens/Menu/ButtonSystem.cs +++ b/osu.Game/Screens/Menu/ButtonSystem.cs @@ -81,7 +81,7 @@ public ButtonSystem() }, buttonFlow = new FlowContainerWithOrigin { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Anchor = Anchor.Centre, AutoSizeAxes = Axes.Both, Spacing = new Vector2(-WEDGE_WIDTH, 0), diff --git a/osu.Game/Screens/Play/KeyCounterCollection.cs b/osu.Game/Screens/Play/KeyCounterCollection.cs index 709f34fac4e2..8e7f7558d7f5 100644 --- a/osu.Game/Screens/Play/KeyCounterCollection.cs +++ b/osu.Game/Screens/Play/KeyCounterCollection.cs @@ -12,7 +12,7 @@ public class KeyCounterCollection : FlowContainer { public KeyCounterCollection() { - Direction = FlowDirection.HorizontalOnly; + Direction = FlowDirections.Horizontal; AutoSizeAxes = Axes.Both; } diff --git a/osu.Game/Screens/Ranking/Results.cs b/osu.Game/Screens/Ranking/Results.cs index 363b386b4228..5e61f381e98c 100644 --- a/osu.Game/Screens/Ranking/Results.cs +++ b/osu.Game/Screens/Ranking/Results.cs @@ -69,7 +69,7 @@ public ScoreDisplay(Score s) new FlowContainer { AutoSizeAxes = Axes.Both, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Children = new Drawable[] { new OsuSpriteText diff --git a/osu.Game/Screens/Select/BeatmapInfoWedge.cs b/osu.Game/Screens/Select/BeatmapInfoWedge.cs index ebee3090c10e..390d175bd488 100644 --- a/osu.Game/Screens/Select/BeatmapInfoWedge.cs +++ b/osu.Game/Screens/Select/BeatmapInfoWedge.cs @@ -127,7 +127,7 @@ public void UpdateBeatmap(WorkingBeatmap beatmap) { Anchor = Anchor.BottomLeft, Origin = Anchor.BottomLeft, - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Margin = new MarginPadding { Top = 10, Left = 25, Right = 10, Bottom = 20 }, AutoSizeAxes = Axes.Both, Children = new Drawable[] @@ -149,7 +149,7 @@ public void UpdateBeatmap(WorkingBeatmap beatmap) new FlowContainer { Margin = new MarginPadding { Top = 10 }, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, AutoSizeAxes = Axes.Both, Children = new [] { diff --git a/osu.Game/Screens/Select/FilterControl.cs b/osu.Game/Screens/Select/FilterControl.cs index c3f0eb9b6dcd..512fa22b3ac8 100644 --- a/osu.Game/Screens/Select/FilterControl.cs +++ b/osu.Game/Screens/Select/FilterControl.cs @@ -43,7 +43,7 @@ public FilterControl() Anchor = Anchor.TopRight, Origin = Anchor.TopRight, Width = 0.4f, // TODO: InnerWidth property or something - Direction = FlowDirection.VerticalOnly, + Direction = FlowDirections.Vertical, Children = new Drawable[] { searchTextBox = new SearchTextBox { RelativeSizeAxes = Axes.X }, @@ -175,7 +175,7 @@ public GroupSortTabs() new FlowContainer { AutoSizeAxes = Axes.Both, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Spacing = new Vector2(10, 0), Children = new Drawable[] { @@ -207,7 +207,7 @@ public GroupSortTabs() new FlowContainer { AutoSizeAxes = Axes.Both, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Spacing = new Vector2(10, 0), Origin = Anchor.TopRight, Anchor = Anchor.TopRight, diff --git a/osu.Game/Screens/Select/Footer.cs b/osu.Game/Screens/Select/Footer.cs index 1ef970b7f0c7..55fb36f144b4 100644 --- a/osu.Game/Screens/Select/Footer.cs +++ b/osu.Game/Screens/Select/Footer.cs @@ -94,14 +94,14 @@ public Footer() Position = new Vector2(BackButton.SIZE_EXTENDED.X + padding, 0), RelativeSizeAxes = Axes.Y, AutoSizeAxes = Axes.X, - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Spacing = new Vector2(padding, 0), Children = new Drawable[] { buttons = new FlowContainer { - Direction = FlowDirection.HorizontalOnly, + Direction = FlowDirections.Horizontal, Spacing = new Vector2(0.2f, 0), AutoSizeAxes = Axes.Both, }