osu/osu.Game/Overlays/Settings/SettingsTextBox.cs

18 lines
517 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings
{
public class SettingsTextBox : SettingsItem<string>
{
protected override Drawable CreateControl() => new OutlinedTextBox
2018-11-14 21:29:11 +00:00
{
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,
CommitOnFocusLost = true
2018-11-14 21:29:11 +00:00
};
2018-04-13 09:19:50 +00:00
}
}