mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Align the bar to be on baseline of score components
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
f4d1e6f600
commit
1abbb9ab39
@ -160,8 +160,8 @@ namespace osu.Game.Online.Leaderboards
|
|||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
|
Origin = Anchor.BottomLeft,
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Horizontal,
|
Direction = FillDirection.Horizontal,
|
||||||
Spacing = new Vector2(10f, 0f),
|
Spacing = new Vector2(10f, 0f),
|
||||||
@ -169,29 +169,32 @@ namespace osu.Game.Online.Leaderboards
|
|||||||
{
|
{
|
||||||
flagBadgeAndDateContainer = new FillFlowContainer
|
flagBadgeAndDateContainer = new FillFlowContainer
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Anchor = Anchor.BottomLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
|
RelativeSizeAxes = Axes.Y,
|
||||||
Direction = FillDirection.Horizontal,
|
Direction = FillDirection.Horizontal,
|
||||||
Spacing = new Vector2(5f, 0f),
|
Spacing = new Vector2(5f, 0f),
|
||||||
Size = new Vector2(87f, 20f),
|
Width = 87f,
|
||||||
Masking = true,
|
Masking = true,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new UpdateableFlag(user.Country)
|
new UpdateableFlag(user.Country)
|
||||||
{
|
{
|
||||||
Width = 30,
|
Anchor = Anchor.CentreLeft,
|
||||||
RelativeSizeAxes = Axes.Y,
|
Origin = Anchor.CentreLeft,
|
||||||
|
Size = new Vector2(30f, 20f),
|
||||||
},
|
},
|
||||||
new DateLabel(Score.Date)
|
new DateLabel(Score.Date)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y,
|
Anchor = Anchor.CentreLeft,
|
||||||
|
Origin = Anchor.CentreLeft,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Horizontal,
|
Direction = FillDirection.Horizontal,
|
||||||
Margin = new MarginPadding { Left = edge_margin },
|
Margin = new MarginPadding { Left = edge_margin },
|
||||||
|
Loading…
Reference in New Issue
Block a user