using Robust.Client.AutoGenerated; using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.XAML; namespace Content.Client.UserInterface.Systems.Inventory.Widgets; [GenerateTypedNameReferences] public sealed partial class InventoryGui : UIWidget { public InventoryGui() { RobustXamlLoader.Load(this); var inventoryUIController = UserInterfaceManager.GetUIController(); inventoryUIController.RegisterInventoryBarContainer(InventoryHotbar); LayoutContainer.SetGrowVertical(this, LayoutContainer.GrowDirection.Begin); } }