mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
Use FillFlowContainer on flag and country
This commit is contained in:
parent
d387629e53
commit
a1fb41ea66
@ -119,10 +119,11 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
Margin = new MarginPadding { Top = 10 },
|
Margin = new MarginPadding { Top = 10 },
|
||||||
Colour = colours.GreySeafoamLighter,
|
Colour = colours.GreySeafoamLighter,
|
||||||
},
|
},
|
||||||
new Container
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Margin = new MarginPadding { Top = 5 },
|
Margin = new MarginPadding { Top = 5 },
|
||||||
|
Direction = FillDirection.Horizontal,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
userFlag = new UpdateableFlag
|
userFlag = new UpdateableFlag
|
||||||
@ -133,7 +134,7 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
userCountryText = new OsuSpriteText
|
userCountryText = new OsuSpriteText
|
||||||
{
|
{
|
||||||
Font = OsuFont.GetFont(size: 17.5f, weight: FontWeight.Regular),
|
Font = OsuFont.GetFont(size: 17.5f, weight: FontWeight.Regular),
|
||||||
Margin = new MarginPadding { Left = 40 },
|
Margin = new MarginPadding { Left = 10 },
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Colour = colours.GreySeafoamLighter,
|
Colour = colours.GreySeafoamLighter,
|
||||||
|
Loading…
Reference in New Issue
Block a user