• Camera/LED.cs
• Added null-checks so labels are created dynamically when lblVorI is null (uses MainForm.Instance.AddLabelToPanel). • Camera/CameraModules.cs • Added null-label handling to create dynamic module labels with the correct content (OK or the error message). • AiQ_GUI.cs • Increased dynamic label width in MakeNewLabel from 220 → 700 to avoid truncated messages. • Succesfully ran through a pre-test with dynamic labels
This commit is contained in:
4
AiQ_GUI.Designer.cs
generated
4
AiQ_GUI.Designer.cs
generated
@@ -712,7 +712,6 @@ namespace AiQ_GUI
|
||||
PnlQuestion.Controls.Add(BtnNo);
|
||||
PnlQuestion.Controls.Add(BtnYes);
|
||||
PnlQuestion.Controls.Add(LblQuestion);
|
||||
PnlQuestion.Controls.Add(PnlInputValue);
|
||||
PnlQuestion.Location = new Point(251, 14);
|
||||
PnlQuestion.Margin = new Padding(4, 3, 4, 3);
|
||||
PnlQuestion.Name = "PnlQuestion";
|
||||
@@ -774,7 +773,7 @@ namespace AiQ_GUI
|
||||
PnlInputValue.Controls.Add(BtnDont);
|
||||
PnlInputValue.Controls.Add(BtnDone);
|
||||
PnlInputValue.Controls.Add(LblRMA);
|
||||
PnlInputValue.Location = new Point(0, 0);
|
||||
PnlInputValue.Location = new Point(251, 136);
|
||||
PnlInputValue.Margin = new Padding(4, 3, 4, 3);
|
||||
PnlInputValue.Name = "PnlInputValue";
|
||||
PnlInputValue.Size = new Size(254, 127);
|
||||
@@ -1828,6 +1827,7 @@ namespace AiQ_GUI
|
||||
Controls.Add(RhTxBxActions);
|
||||
Controls.Add(CbBxCamType);
|
||||
Controls.Add(LblGUIVers);
|
||||
Controls.Add(PnlInputValue);
|
||||
Controls.Add(BtnOpenWebpage);
|
||||
Controls.Add(TabImagesandSettings);
|
||||
Controls.Add(PicBxMAV);
|
||||
|
||||
Reference in New Issue
Block a user