mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Add more padding around editor screen content
This commit is contained in:
parent
2f772abea6
commit
a16d7e6cc5
@ -1,8 +1,6 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// 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.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System.Collections.Specialized;
|
using System.Collections.Specialized;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -27,17 +25,18 @@ namespace osu.Game.Tournament.Screens.Editors
|
|||||||
{
|
{
|
||||||
protected abstract BindableList<TModel> Storage { get; }
|
protected abstract BindableList<TModel> Storage { get; }
|
||||||
|
|
||||||
private FillFlowContainer<TDrawable> flow;
|
private FillFlowContainer<TDrawable> flow = null!;
|
||||||
|
|
||||||
[Resolved(canBeNull: true)]
|
[Resolved]
|
||||||
private TournamentSceneManager sceneManager { get; set; }
|
private TournamentSceneManager? sceneManager { get; set; }
|
||||||
|
|
||||||
protected ControlPanel ControlPanel;
|
protected ControlPanel ControlPanel = null!;
|
||||||
|
|
||||||
private readonly TournamentScreen parentScreen;
|
private readonly TournamentScreen? parentScreen;
|
||||||
private BackButton backButton;
|
|
||||||
|
|
||||||
protected TournamentEditorScreen(TournamentScreen parentScreen = null)
|
private BackButton backButton = null!;
|
||||||
|
|
||||||
|
protected TournamentEditorScreen(TournamentScreen? parentScreen = null)
|
||||||
{
|
{
|
||||||
this.parentScreen = parentScreen;
|
this.parentScreen = parentScreen;
|
||||||
}
|
}
|
||||||
@ -63,6 +62,7 @@ namespace osu.Game.Tournament.Screens.Editors
|
|||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Spacing = new Vector2(20),
|
Spacing = new Vector2(20),
|
||||||
|
Padding = new MarginPadding(20),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ControlPanel = new ControlPanel
|
ControlPanel = new ControlPanel
|
||||||
|
Loading…
Reference in New Issue
Block a user