mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Fix layout in MatchPairing test case
This commit is contained in:
parent
ffadd5dfd0
commit
0076ef3447
@ -47,14 +47,16 @@ namespace osu.Game.Tournament.Tests
|
||||
}
|
||||
);
|
||||
|
||||
Child = new Container
|
||||
Child = new FillFlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
level1 = new Container<DrawableMatchPairing>
|
||||
level1 = new FillFlowContainer<DrawableMatchPairing>
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
AutoSizeAxes = Axes.X,
|
||||
Direction = FillDirection.Vertical,
|
||||
Children = new[]
|
||||
{
|
||||
new DrawableMatchPairing(pairing1),
|
||||
@ -62,9 +64,10 @@ namespace osu.Game.Tournament.Tests
|
||||
new DrawableMatchPairing(new MatchPairing()),
|
||||
}
|
||||
},
|
||||
level2 = new Container<DrawableMatchPairing>
|
||||
level2 = new FillFlowContainer<DrawableMatchPairing>
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
AutoSizeAxes = Axes.X,
|
||||
Direction = FillDirection.Vertical,
|
||||
Margin = new MarginPadding(20),
|
||||
Children = new[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user