diff --git a/osu.Game/Overlays/Settings/SettingsItem.cs b/osu.Game/Overlays/Settings/SettingsItem.cs index 91998f07d8..b593dea576 100644 --- a/osu.Game/Overlays/Settings/SettingsItem.cs +++ b/osu.Game/Overlays/Settings/SettingsItem.cs @@ -115,13 +115,18 @@ namespace osu.Game.Overlays.Settings { Width = SettingsPanel.CONTENT_MARGINS, }, - FlowContent = new FillFlowContainer + new Container { RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, Padding = new MarginPadding { Left = SettingsPanel.CONTENT_MARGINS }, - Spacing = new Vector2(0, 10), - Child = Control = CreateControl(), + Child = FlowContent = new FillFlowContainer + { + RelativeSizeAxes = Axes.X, + AutoSizeAxes = Axes.Y, + Spacing = new Vector2(0, 10), + Child = Control = CreateControl(), + } } }; diff --git a/osu.Game/Screens/Play/PlayerSettings/PlayerSliderBar.cs b/osu.Game/Screens/Play/PlayerSettings/PlayerSliderBar.cs index 216e46d429..9903a74043 100644 --- a/osu.Game/Screens/Play/PlayerSettings/PlayerSliderBar.cs +++ b/osu.Game/Screens/Play/PlayerSettings/PlayerSliderBar.cs @@ -17,7 +17,6 @@ namespace osu.Game.Screens.Play.PlayerSettings protected override Drawable CreateControl() => new Sliderbar { - Margin = new MarginPadding { Top = 5, Bottom = 5 }, RelativeSizeAxes = Axes.X };