1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 06:42:56 +08:00

Fix SettingsTextBox having width of 0

This commit is contained in:
HoLLy 2018-11-14 22:29:11 +01:00
parent 92adcb7613
commit 9dd3d28436

View File

@ -8,6 +8,10 @@ namespace osu.Game.Overlays.Settings
{ {
public class SettingsTextBox : SettingsItem<string> public class SettingsTextBox : SettingsItem<string>
{ {
protected override Drawable CreateControl() => new OsuTextBox(); protected override Drawable CreateControl() => new OsuTextBox
{
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,
};
} }
} }