Replace most VBox/HBoxContainers with BoxContainers (#4274)
This commit is contained in:
@@ -17,6 +17,7 @@ using Robust.Shared.Localization;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Prototypes;
|
||||
using static Content.Shared.Inventory.EquipmentSlotDefines;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
|
||||
namespace Content.Client.Inventory
|
||||
{
|
||||
@@ -102,8 +103,9 @@ namespace Content.Client.Inventory
|
||||
AddButton(out _hudButtonEars, Slots.EARS, "ears");
|
||||
AddButton(out _hudButtonHead, Slots.HEAD, "head");
|
||||
|
||||
_topQuickButtonsContainer = new HBoxContainer
|
||||
_topQuickButtonsContainer = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal,
|
||||
Children =
|
||||
{
|
||||
_hudButtonShoes,
|
||||
@@ -119,8 +121,9 @@ namespace Content.Client.Inventory
|
||||
SeparationOverride = 5
|
||||
};
|
||||
|
||||
_bottomRightQuickButtonsContainer = new HBoxContainer
|
||||
_bottomRightQuickButtonsContainer = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal,
|
||||
Children =
|
||||
{
|
||||
_hudButtonPocket1,
|
||||
@@ -129,8 +132,9 @@ namespace Content.Client.Inventory
|
||||
},
|
||||
SeparationOverride = 5
|
||||
};
|
||||
_bottomLeftQuickButtonsContainer = new HBoxContainer
|
||||
_bottomLeftQuickButtonsContainer = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal,
|
||||
Children =
|
||||
{
|
||||
_hudButtonBelt,
|
||||
|
||||
Reference in New Issue
Block a user