Get rid of any usage of VBoxContainer/HBoxContainer (#4653)
Co-authored-by: Swept <sweptwastaken@protonmail.com>
This commit is contained in:
@@ -158,7 +158,6 @@ namespace Content.Client.Storage
|
||||
|
||||
private void ChangeStorageVisualization(SharedBagState state)
|
||||
{
|
||||
|
||||
if (Owner.TryGetComponent<AppearanceComponent>(out var appearanceComponent))
|
||||
{
|
||||
appearanceComponent.SetData(SharedBagOpenVisuals.BagState, state);
|
||||
@@ -200,8 +199,9 @@ namespace Content.Client.Storage
|
||||
entity.TryGetComponent(out ISpriteComponent? sprite);
|
||||
entity.TryGetComponent(out ItemComponent? item);
|
||||
|
||||
button.AddChild(new HBoxContainer
|
||||
button.AddChild(new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal,
|
||||
SeparationOverride = 2,
|
||||
Children =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user