mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Fix settings item having zero height
This commit is contained in:
parent
cc9727ec11
commit
6d9d85685f
@ -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(),
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user