mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Use anchor instead of FillFlowContainer
This commit is contained in:
parent
a5c3c9a93f
commit
0adb399ea8
@ -103,25 +103,19 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
|||||||
CornerRadius = CORNER_RADIUS,
|
CornerRadius = CORNER_RADIUS,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new FillFlowContainer
|
new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Horizontal,
|
Colour = colours.Background5,
|
||||||
Children = new Drawable[]
|
Width = 0.2f,
|
||||||
{
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
Anchor = Anchor.TopRight,
|
||||||
Colour = colours.Background5,
|
Origin = Anchor.TopRight,
|
||||||
Width = 0.2f,
|
RelativeSizeAxes = Axes.Both,
|
||||||
},
|
Colour = ColourInfo.GradientHorizontal(colours.Background5, colours.Background5.Opacity(0.3f)),
|
||||||
new Box
|
Width = 0.8f,
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Colour = ColourInfo.GradientHorizontal(colours.Background5, colours.Background5.Opacity(0.3f)),
|
|
||||||
Width = 0.8f,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user