Replace most VBox/HBoxContainers with BoxContainers (#4274)
This commit is contained in:
@@ -4,6 +4,7 @@ using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Shared.Localization;
|
||||
using static Content.Shared.Disposal.Components.SharedDisposalRouterComponent;
|
||||
using static Robust.Client.UserInterface.Controls.BoxContainer;
|
||||
|
||||
namespace Content.Client.Disposal.UI
|
||||
{
|
||||
@@ -20,14 +21,16 @@ namespace Content.Client.Disposal.UI
|
||||
MinSize = SetSize = (500, 110);
|
||||
Title = Loc.GetString("disposal-router-window-title");
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
Contents.AddChild(new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Vertical,
|
||||
Children =
|
||||
{
|
||||
new Label {Text = Loc.GetString("disposal-router-window-tags-label")},
|
||||
new Control {MinSize = (0, 10)},
|
||||
new HBoxContainer
|
||||
new BoxContainer
|
||||
{
|
||||
Orientation = LayoutOrientation.Horizontal,
|
||||
Children =
|
||||
{
|
||||
(TagInput = new LineEdit
|
||||
|
||||
Reference in New Issue
Block a user