Make room settings scroll

This commit is contained in:
Dean Herbert
2018-12-26 15:03:35 +09:00
parent ce33c301f6
commit 755c6b9243

View File

@ -61,11 +61,17 @@ namespace osu.Game.Screens.Multi.Match.Components
RelativeSizeAxes = Axes.Both,
Colour = OsuColour.FromHex(@"28242d"),
},
new Container
new ScrollContainer
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Top = 35, Bottom = 75, Horizontal = SearchableListOverlay.WIDTH_PADDING },
Children = new[]
{
new Container
{
Padding = new MarginPadding { Top = 35, Bottom = 75, Horizontal = SearchableListOverlay.WIDTH_PADDING },
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]
{
new SectionContainer
{
@ -161,6 +167,8 @@ namespace osu.Game.Screens.Multi.Match.Components
},
},
},
}
},
},
new Container
{
@ -265,7 +273,8 @@ namespace osu.Game.Screens.Multi.Match.Components
{
public SectionContainer()
{
RelativeSizeAxes = Axes.Both;
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
Width = 0.5f;
Direction = FillDirection.Vertical;
Spacing = new Vector2(field_padding);