1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 06:09:55 +08:00

replace space in text with Spacing in FillFlowContainer

This commit is contained in:
Jorolf
2017-04-08 13:59:22 +02:00
Unverified
parent f7a9a11ae5
commit bcef1ce2b6
+2 -1
View File
@@ -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 }
}
};