1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 00:07:20 +08:00

Fix text in FormFileSelector bleeding through the border

This commit is contained in:
Andrei Zavatski 2024-09-28 22:37:16 +03:00
parent c46d787f1e
commit f473f4398c

View File

@ -244,6 +244,9 @@ namespace osu.Game.Graphics.UserInterfaceV2
Child = new Container Child = new Container
{ {
Size = new Vector2(600, 400), Size = new Vector2(600, 400),
// simplest solution to avoid underlying text to bleed through the bottom border
// https://github.com/ppy/osu/pull/30005#issuecomment-2378884430
Padding = new MarginPadding { Bottom = 1 },
Child = new OsuFileSelector(chooserPath, handledExtensions) Child = new OsuFileSelector(chooserPath, handledExtensions)
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,