crew monitor window now has consistent size (#10186)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<DefaultWindow xmlns="https://spacestation14.io"
|
||||
Title="{Loc 'crew-monitoring-user-interface-title'}"
|
||||
SetSize="450 400">
|
||||
SetSize="775 400">
|
||||
<ScrollContainer HorizontalExpand="True"
|
||||
VerticalExpand="True">
|
||||
<GridContainer Name="SensorsTable"
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace Content.Client.Medical.CrewMonitoring
|
||||
{
|
||||
Text = $"{sensor.Name} ({sensor.Job})"
|
||||
};
|
||||
nameLabel.HorizontalExpand = true;
|
||||
SensorsTable.AddChild(nameLabel);
|
||||
_rowsContent.Add(nameLabel);
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Shared.Access.Components
|
||||
[NetworkedComponent]
|
||||
public abstract class SharedIdCardConsoleComponent : Component
|
||||
{
|
||||
public const int MaxFullNameLength = 256;
|
||||
public const int MaxJobTitleLength = 256;
|
||||
public const int MaxFullNameLength = 30;
|
||||
public const int MaxJobTitleLength = 30;
|
||||
|
||||
public static string PrivilegedIdCardSlotId = "IdCardConsole-privilegedId";
|
||||
public static string TargetIdCardSlotId = "IdCardConsole-targetId";
|
||||
|
||||
Reference in New Issue
Block a user