mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 12:22:57 +08:00
Use anchor instead of FillFlowContainer
This commit is contained in:
parent
a5c3c9a93f
commit
0adb399ea8
@ -102,12 +102,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
Masking = true,
|
||||
CornerRadius = CORNER_RADIUS,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new FillFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
{
|
||||
@ -117,12 +111,12 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
},
|
||||
new Box
|
||||
{
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = ColourInfo.GradientHorizontal(colours.Background5, colours.Background5.Opacity(0.3f)),
|
||||
Width = 0.8f,
|
||||
},
|
||||
},
|
||||
},
|
||||
new Container
|
||||
{
|
||||
Name = @"Left details",
|
||||
|
Loading…
Reference in New Issue
Block a user