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
1 changed files with 3 additions and 0 deletions

View File

@ -244,6 +244,9 @@ public FileChooserPopover(string[] handledExtensions, Bindable<FileInfo?> curren
Child = new Container
{
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)
{
RelativeSizeAxes = Axes.Both,