mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:58:21 +08:00
Use FillFlow rather than manually specifying positions
This commit is contained in:
parent
2ff21bbc6c
commit
6d9951d9af
@ -44,18 +44,22 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = OsuColour.Gray(0.2f)
|
Colour = OsuColour.Gray(0.2f)
|
||||||
},
|
},
|
||||||
total = new CountSection(
|
new FillFlowContainer
|
||||||
"Total Kudosu Earned",
|
|
||||||
"Based on how much of a contribution the user has made to beatmap moderation. See this link for more information."
|
|
||||||
),
|
|
||||||
avaliable = new CountSection(
|
|
||||||
"Kudosu Avaliable",
|
|
||||||
"Kudosu can be traded for kudosu stars, which will help your beatmap get more attention. This is the number of kudosu you haven't traded in yet."
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
RelativePositionAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
X = 0.5f,
|
AutoSizeAxes = Axes.Y,
|
||||||
},
|
Children = new[]
|
||||||
|
{
|
||||||
|
total = new CountSection(
|
||||||
|
"Total Kudosu Earned",
|
||||||
|
"Based on how much of a contribution the user has made to beatmap moderation. See this link for more information."
|
||||||
|
),
|
||||||
|
avaliable = new CountSection(
|
||||||
|
"Kudosu Avaliable",
|
||||||
|
"Kudosu can be traded for kudosu stars, which will help your beatmap get more attention. This is the number of kudosu you haven't traded in yet."
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.user.ValueChanged += newUser =>
|
this.user.ValueChanged += newUser =>
|
||||||
|
Loading…
Reference in New Issue
Block a user