Get rid of any usage of VBoxContainer/HBoxContainer (#4653)

Co-authored-by: Swept <sweptwastaken@protonmail.com>
This commit is contained in:
Visne
2021-09-19 19:56:04 +02:00
committed by GitHub
parent 73171835f1
commit 5451f9eda1
12 changed files with 30 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ using Robust.Shared.Utility;
namespace Content.Client.DoAfter.UI
{
public sealed class DoAfterGui : VBoxContainer
public sealed class DoAfterGui : BoxContainer
{
[Dependency] private readonly IEntityManager _entityManager = default!;
[Dependency] private readonly IEyeManager _eyeManager = default!;
@@ -32,6 +32,8 @@ namespace Content.Client.DoAfter.UI
public DoAfterGui()
{
Orientation = LayoutOrientation.Vertical;
IoCManager.InjectDependencies(this);
IoCManager.Resolve<IUserInterfaceManager>().StateRoot.AddChild(this);
SeparationOverride = 0;