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
1 changed files with 2 additions and 2 deletions

View File

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