Fix settings item having zero height

This commit is contained in:
Bartłomiej Dach
2021-10-18 23:30:38 +02:00
parent cc9727ec11
commit 6d9d85685f
2 changed files with 8 additions and 4 deletions

View File

@ -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(),
}
}
};