Merge pull request #3720 from HoLLy-HaCKeR/fix-settingstextbox

Fix SettingsTextBox having width of 0
This commit is contained in:
Dan Balasescu
2018-11-15 12:15:11 +09:00
committed by GitHub

View File

@ -8,6 +8,10 @@ namespace osu.Game.Overlays.Settings
{
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,
};
}
}