move panel spacing to ctor

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-05-23 21:31:49 +07:00
parent 10c4ba3a74
commit 24960c4fb8
2 changed files with 7 additions and 7 deletions

View File

@ -27,10 +27,16 @@ namespace osu.Game.Overlays.Wiki
public bool IsFullWidth;
public WikiPanelContainer()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
Padding = new MarginPadding(3);
}
[BackgroundDependencyLoader]
private void load()
{
Padding = new MarginPadding(3);
Children = new Drawable[]
{
new Container