mirror of https://github.com/ppy/osu
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.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System.Collections.Specialized;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
@ -27,17 +25,18 @@ public abstract partial class TournamentEditorScreen<TDrawable, TModel> : Tourna
|
|||
{
|
||||
protected abstract BindableList<TModel> Storage { get; }
|
||||
|
||||
private FillFlowContainer<TDrawable> flow;
|
||||
private FillFlowContainer<TDrawable> flow = null!;
|
||||
|
||||
[Resolved(canBeNull: true)]
|
||||
private TournamentSceneManager sceneManager { get; set; }
|
||||
[Resolved]
|
||||
private TournamentSceneManager? sceneManager { get; set; }
|
||||
|
||||
protected ControlPanel ControlPanel;
|
||||
protected ControlPanel ControlPanel = null!;
|
||||
|
||||
private readonly TournamentScreen parentScreen;
|
||||
private BackButton backButton;
|
||||
private readonly TournamentScreen? parentScreen;
|
||||
|
||||
protected TournamentEditorScreen(TournamentScreen parentScreen = null)
|
||||
private BackButton backButton = null!;
|
||||
|
||||
protected TournamentEditorScreen(TournamentScreen? parentScreen = null)
|
||||
{
|
||||
this.parentScreen = parentScreen;
|
||||
}
|
||||
|
@ -63,6 +62,7 @@ private void load()
|
|||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Spacing = new Vector2(20),
|
||||
Padding = new MarginPadding(20),
|
||||
},
|
||||
},
|
||||
ControlPanel = new ControlPanel
|
||||
|
|
Loading…
Reference in New Issue