mirror of https://github.com/ppy/osu
Wrap beatmap listing filter names too
While we're here fixing... Addresses https://github.com/ppy/osu/discussions/15452#discussioncomment-2734237.
This commit is contained in:
parent
db1c59475b
commit
e5e7c8f268
|
@ -6,10 +6,10 @@
|
|||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osuTK;
|
||||
using osu.Framework.Extensions.EnumExtensions;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Overlays.BeatmapListing
|
||||
{
|
||||
|
@ -45,9 +45,10 @@ public BeatmapSearchFilterRow(LocalisableString header)
|
|||
{
|
||||
new[]
|
||||
{
|
||||
new OsuSpriteText
|
||||
new OsuTextFlowContainer(t => t.Font = OsuFont.GetFont(size: 13))
|
||||
{
|
||||
Font = OsuFont.GetFont(size: 13),
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Text = header
|
||||
},
|
||||
filter = CreateFilter()
|
||||
|
|
Loading…
Reference in New Issue