Fix minsizes for all windows that needed it (#3648)
* fix minsizes * fix scanner height, minsize->setsize for some
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Content.Client.GameObjects.Components.Access
|
||||
|
||||
public IdCardConsoleWindow(IdCardConsoleBoundUserInterface owner, IPrototypeManager prototypeManager)
|
||||
{
|
||||
MinSize = SetSize = (650, 270);
|
||||
MinSize = SetSize = (650, 290);
|
||||
_owner = owner;
|
||||
var vBox = new VBoxContainer();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Content.Client.GameObjects.Components.Atmos
|
||||
|
||||
public GasCanisterWindow()
|
||||
{
|
||||
SetSize = MinSize = (300, 200);
|
||||
SetSize = MinSize = (450, 200);
|
||||
HBoxContainer releasePressureButtons;
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Content.Client.GameObjects.Components.Chemistry.ChemMaster
|
||||
/// </summary>
|
||||
public ChemMasterWindow()
|
||||
{
|
||||
MinSize = SetSize = (400, 200);
|
||||
MinSize = SetSize = (400, 525);
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace Content.Client.GameObjects.Components.Chemistry.ReagentDispenser
|
||||
/// </summary>
|
||||
public ReagentDispenserWindow()
|
||||
{
|
||||
SetSize = MinSize = (500, 600);
|
||||
SetSize = MinSize = (590, 400);
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
var dispenseAmountGroup = new ButtonGroup();
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace Content.Client.GameObjects.Components.Disposal
|
||||
|
||||
public DisposalMailingUnitWindow()
|
||||
{
|
||||
MinSize = SetSize = (460, 220);
|
||||
MinSize = SetSize = (460, 230);
|
||||
TargetList = new List<string>();
|
||||
Contents.AddChild(new HBoxContainer
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Content.Client.GameObjects.Components.Disposal
|
||||
|
||||
public DisposalRouterWindow()
|
||||
{
|
||||
MinSize = SetSize = (400, 80);
|
||||
MinSize = SetSize = (500, 110);
|
||||
Title = Loc.GetString("Disposal Router");
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Content.Client.GameObjects.Components.Disposal
|
||||
|
||||
public DisposalTaggerWindow()
|
||||
{
|
||||
MinSize = SetSize = (400, 80);
|
||||
MinSize = SetSize = (500, 110);
|
||||
Title = Loc.GetString("Disposal Tagger");
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace Content.Client.GameObjects.Components.Disposal
|
||||
|
||||
public DisposalUnitWindow()
|
||||
{
|
||||
MinSize = SetSize = (300, 200);
|
||||
MinSize = SetSize = (300, 225);
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Client.GameObjects.Components.MedicalScanner
|
||||
private readonly Label _diagnostics;
|
||||
public MedicalScannerWindow()
|
||||
{
|
||||
MinSize = SetSize = (485, 90);
|
||||
SetSize = (250, 100);
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
{
|
||||
@@ -44,6 +44,7 @@ namespace Content.Client.GameObjects.Components.MedicalScanner
|
||||
{
|
||||
_diagnostics.Text = Loc.GetString("No patient data.");
|
||||
ScanButton.Disabled = true;
|
||||
SetSize = (250, 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -68,6 +69,8 @@ namespace Content.Client.GameObjects.Components.MedicalScanner
|
||||
|
||||
_diagnostics.Text = text.ToString();
|
||||
ScanButton.Disabled = state.IsScanned;
|
||||
|
||||
SetSize = (250, 575);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace Content.Client.GameObjects.Components.Power.AME
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
Title = "Antimatter Control Unit";
|
||||
|
||||
MinSize = SetSize = (250, 250);
|
||||
|
||||
Contents.AddChild(new VBoxContainer
|
||||
{
|
||||
Children =
|
||||
|
||||
@@ -188,7 +188,7 @@ namespace Content.Client.GameObjects.Components.Storage
|
||||
public StorageWindow(ClientStorageComponent storageEntity)
|
||||
{
|
||||
StorageEntity = storageEntity;
|
||||
MinSize = SetSize = (180, 320);
|
||||
SetSize = (200, 320);
|
||||
Title = "Storage Item";
|
||||
RectClipContent = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user