Replace most VBox/HBoxContainers with BoxContainers (#4274)
This commit is contained in:
@@ -9,6 +9,7 @@ using Robust.Shared.Localization;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Utility;
|
||||
using static Robust.Client.UserInterface.Controls.BaseButton;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
|
||||
namespace Content.Client.Crayon.UI
|
||||
{
|
||||
@@ -27,7 +28,10 @@ namespace Content.Client.Crayon.UI
|
||||
Title = Loc.GetString("crayon-window-title");
|
||||
Owner = owner;
|
||||
|
||||
var vbox = new VBoxContainer();
|
||||
var vbox = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Vertical
|
||||
};
|
||||
Contents.AddChild(vbox);
|
||||
|
||||
_search = new LineEdit();
|
||||
|
||||
Reference in New Issue
Block a user