mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02:54 +08:00
replace space in text with Spacing in FillFlowContainer
This commit is contained in:
parent
f7a9a11ae5
commit
bcef1ce2b6
@ -483,7 +483,7 @@ namespace osu.Game.Screens.Select
|
||||
FadeIn(fade_time);
|
||||
content.Children = value.Split(' ').Select(text => new OsuSpriteText
|
||||
{
|
||||
Text = text + " ",
|
||||
Text = text,
|
||||
Font = "Exo2.0-Regular",
|
||||
});
|
||||
}
|
||||
@ -515,6 +515,7 @@ namespace osu.Game.Screens.Select
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Direction = FillDirection.Full,
|
||||
Spacing = new Vector2(5,0),
|
||||
Margin = new MarginPadding { Top = header.TextSize }
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user