Fix misaligned settings buttons

This commit is contained in:
Shane Woolcock
2017-10-21 13:16:06 +10:30
parent 2c7343e965
commit 98044a17d3
9 changed files with 28 additions and 18 deletions

View File

@ -22,9 +22,8 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
{
Children = new Drawable[]
{
importButton = new OsuButton
importButton = new SettingsButton
{
RelativeSizeAxes = Axes.X,
Text = "Import beatmaps from stable",
Action = () =>
{
@ -32,9 +31,8 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
Task.Run(() => beatmaps.ImportFromStable()).ContinueWith(t => Schedule(() => importButton.Enabled.Value = true));
}
},
deleteButton = new OsuButton
deleteButton = new SettingsButton
{
RelativeSizeAxes = Axes.X,
Text = "Delete ALL beatmaps",
Action = () =>
{
@ -42,9 +40,8 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
Task.Run(() => beatmaps.DeleteAll()).ContinueWith(t => Schedule(() => deleteButton.Enabled.Value = true));
}
},
restoreButton = new OsuButton
restoreButton = new SettingsButton
{
RelativeSizeAxes = Axes.X,
Text = "Restore all hidden difficulties",
Action = () =>
{