Replace most VBox/HBoxContainers with BoxContainers (#4274)
This commit is contained in:
@@ -19,6 +19,7 @@ using Robust.Shared.Localization;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Prototypes;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
|
||||
namespace Content.Client.Sandbox
|
||||
{
|
||||
@@ -47,7 +48,11 @@ namespace Content.Client.Sandbox
|
||||
|
||||
Title = Loc.GetString("sandbox-window-title");
|
||||
|
||||
var vBox = new VBoxContainer { SeparationOverride = 4 };
|
||||
var vBox = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Vertical,
|
||||
SeparationOverride = 4
|
||||
};
|
||||
Contents.AddChild(vBox);
|
||||
|
||||
RespawnButton = new Button { Text = Loc.GetString("sandbox-window-respawn-button") };
|
||||
|
||||
Reference in New Issue
Block a user