Adjust sprite texts in-line with framework changes

This commit is contained in:
smoogipoo
2019-02-12 13:04:46 +09:00
parent e174fa2d3e
commit a2aa3ec5cb
140 changed files with 424 additions and 514 deletions

View File

@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Dialog
},
},
},
header = new OsuTextFlowContainer(t => t.TextSize = 25)
header = new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(t.Font, size: 25))
{
Origin = Anchor.TopCentre,
Anchor = Anchor.TopCentre,
@ -180,7 +180,7 @@ namespace osu.Game.Overlays.Dialog
Padding = new MarginPadding(15),
TextAnchor = Anchor.TopCentre,
},
body = new OsuTextFlowContainer(t => t.TextSize = 18)
body = new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(t.Font, size: 18))
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,