mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Fix grade layout
This commit is contained in:
parent
5d81445454
commit
8d46d4a28e
@ -39,19 +39,30 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
Spacing = new Vector2(10, 0),
|
Spacing = new Vector2(10, 0),
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
rankText = new OsuSpriteText
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Text = $"#{position.ToString()}",
|
AutoSizeAxes = Axes.Both,
|
||||||
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold, italics: true)
|
Direction = FillDirection.Vertical,
|
||||||
},
|
Spacing = new Vector2(0, 3),
|
||||||
rank = new UpdateableRank(ScoreRank.D)
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
rankText = new OsuSpriteText
|
||||||
Origin = Anchor.Centre,
|
{
|
||||||
Size = new Vector2(40),
|
Anchor = Anchor.Centre,
|
||||||
FillMode = FillMode.Fit,
|
Origin = Anchor.Centre,
|
||||||
|
Text = $"#{position.ToString()}",
|
||||||
|
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold, italics: true)
|
||||||
|
},
|
||||||
|
rank = new UpdateableRank(ScoreRank.D)
|
||||||
|
{
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
|
Size = new Vector2(40),
|
||||||
|
FillMode = FillMode.Fit,
|
||||||
|
},
|
||||||
|
}
|
||||||
},
|
},
|
||||||
avatar = new UpdateableAvatar(hideImmediately: true)
|
avatar = new UpdateableAvatar(hideImmediately: true)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user