1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:43:21 +08:00

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
commit d94801b6c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
};
}
}