Fix minsizes for all windows that needed it (#3648)

* fix minsizes

* fix scanner height, minsize->setsize for some
This commit is contained in:
mirrorcult
2021-03-15 01:38:08 -07:00
committed by GitHub
parent fe43402ef2
commit e4169ecf0d
15 changed files with 30 additions and 16 deletions

View File

@@ -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);
}
}
}