mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Fix layout of profile top header to match web (#5218)
Fix layout of profile top header to match web
This commit is contained in:
@ -68,6 +68,12 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
AutoSizeAxes = Axes.X,
|
AutoSizeAxes = Axes.X,
|
||||||
Padding = new MarginPadding { Left = 10 },
|
Padding = new MarginPadding { Left = 10 },
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new FillFlowContainer
|
||||||
|
{
|
||||||
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Direction = FillDirection.Vertical,
|
||||||
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
@ -87,6 +93,12 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
titleText = new OsuSpriteText
|
||||||
|
{
|
||||||
|
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Regular)
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Origin = Anchor.BottomLeft,
|
Origin = Anchor.BottomLeft,
|
||||||
@ -95,10 +107,6 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
titleText = new OsuSpriteText
|
|
||||||
{
|
|
||||||
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Regular)
|
|
||||||
},
|
|
||||||
supporterTag = new SupporterIcon
|
supporterTag = new SupporterIcon
|
||||||
{
|
{
|
||||||
Height = 20,
|
Height = 20,
|
||||||
@ -111,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
|
||||||
@ -125,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,
|
||||||
|
Reference in New Issue
Block a user