From f273a8839a5350143c6da21974575e045fcc7721 Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 29 Apr 2025 10:50:59 -0400 Subject: [PATCH] C2025-023 Electronic Procedures - Modifications to PROMS (Phase 1) Overlapping of textbox controls --- .../Volian.Controls.Library/frmEPAnnotationDetails.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/frmEPAnnotationDetails.cs b/PROMS/Volian.Controls.Library/frmEPAnnotationDetails.cs index 95253807..540eb713 100644 --- a/PROMS/Volian.Controls.Library/frmEPAnnotationDetails.cs +++ b/PROMS/Volian.Controls.Library/frmEPAnnotationDetails.cs @@ -58,7 +58,6 @@ namespace Volian.Controls.Library RowCount += 1; panelEP.RowCount = RowCount; panelEP.Top = 20; - panelEP.RowStyles.Insert(0, new RowStyle(SizeType.AutoSize)); Label wlbl = new Label(); wlbl.Text = EP.label; @@ -91,11 +90,20 @@ namespace Volian.Controls.Library { tb.Multiline = true; tb.ScrollBars = RichTextBoxScrollBars.Both; + panelEP.RowStyles.Insert(panelEP.RowCount - 1, new RowStyle(SizeType.Absolute, 50)); + } + else + { + panelEP.RowStyles.Insert(panelEP.RowCount - 1, new RowStyle(SizeType.AutoSize)); } _DicStepRtb.Add(EP.name, tb); panelEP.Controls.Add(tb, 1, panelEP.RowCount - 1); } + else + { + panelEP.RowStyles.Insert(panelEP.RowCount - 1, new RowStyle(SizeType.AutoSize)); + } if (EP.type.ToLower() == "logical") { CheckBox cb = new CheckBox();