Skip to content

Commit

Permalink
Wrap beatmap listing filter names too
Browse files Browse the repository at this point in the history
While we're here fixing...

Addresses
#15452 (comment).
  • Loading branch information
bdach committed Mar 11, 2024
1 parent db1c594 commit e5e7c8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions osu.Game/Overlays/BeatmapListing/BeatmapSearchFilterRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e5e7c8f

Please sign in to comment.