Replace most VBox/HBoxContainers with BoxContainers (#4274)
This commit is contained in:
@@ -11,6 +11,7 @@ using Robust.Shared.Localization;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Prototypes;
|
||||
using static Content.Shared.Chemistry.Solution.Solution;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
@@ -238,10 +239,14 @@ namespace Content.Client.Kitchen.UI
|
||||
Owner = owner;
|
||||
Title = Loc.GetString("grinder-menu-title");
|
||||
|
||||
var hSplit = new HBoxContainer();
|
||||
|
||||
var vBoxGrindJuiceButtonPanel = new VBoxContainer
|
||||
var hSplit = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal
|
||||
};
|
||||
|
||||
var vBoxGrindJuiceButtonPanel = new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Vertical,
|
||||
VerticalAlignment = VAlignment.Center
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user