1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Move padding to fill, not scroll container

This commit is contained in:
Dean Herbert 2020-05-17 17:25:26 +09:00
parent d1f39b6b00
commit 2c0ac8cc36

View File

@ -70,13 +70,13 @@ namespace osu.Game.Tournament.Screens.Editors
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Padding = new MarginPadding { Bottom = backButton.Height },
Child = flow = new FillFlowContainer<TDrawable> Child = flow = new FillFlowContainer<TDrawable>
{ {
Direction = FillDirection.Vertical, Direction = FillDirection.Vertical,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Spacing = new Vector2(20) Spacing = new Vector2(20),
Padding = new MarginPadding { Bottom = backButton.Height * 2 },
}, },
}, },
backButton, backButton,