2019-01-24 17:43:03 +09:00
|
|
|
|
// 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 18:19:50 +09:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Settings
|
|
|
|
|
{
|
|
|
|
|
public class SettingsTextBox : SettingsItem<string>
|
|
|
|
|
{
|
2021-06-26 11:19:14 +08:00
|
|
|
|
protected override Drawable CreateControl() => new OutlinedTextBox
|
2018-11-14 22:29:11 +01:00
|
|
|
|
{
|
|
|
|
|
Margin = new MarginPadding { Top = 5 },
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
2021-06-26 11:19:14 +08:00
|
|
|
|
CommitOnFocusLost = true
|
2018-11-14 22:29:11 +01:00
|
|
|
|
};
|
2018-04-13 18:19:50 +09:00
|
|
|
|
}
|
|
|
|
|
}
|