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:
parent
d1f39b6b00
commit
2c0ac8cc36
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user