mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Fix layout in MatchPairing test case
This commit is contained in:
@ -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[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
level1 = new Container<DrawableMatchPairing>
|
level1 = new FillFlowContainer<DrawableMatchPairing>
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.X,
|
||||||
|
Direction = FillDirection.Vertical,
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
new DrawableMatchPairing(pairing1),
|
new DrawableMatchPairing(pairing1),
|
||||||
@ -62,9 +64,10 @@ namespace osu.Game.Tournament.Tests
|
|||||||
new DrawableMatchPairing(new MatchPairing()),
|
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),
|
Margin = new MarginPadding(20),
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user