C2025-023 Electronic Procedures - Modifications to PROMS (Phase 1)
Overlapping of textbox controls
This commit is contained in:
parent
62ae81c7b3
commit
f273a8839a
@ -58,7 +58,6 @@ namespace Volian.Controls.Library
|
|||||||
RowCount += 1;
|
RowCount += 1;
|
||||||
panelEP.RowCount = RowCount;
|
panelEP.RowCount = RowCount;
|
||||||
panelEP.Top = 20;
|
panelEP.Top = 20;
|
||||||
panelEP.RowStyles.Insert(0, new RowStyle(SizeType.AutoSize));
|
|
||||||
|
|
||||||
Label wlbl = new Label();
|
Label wlbl = new Label();
|
||||||
wlbl.Text = EP.label;
|
wlbl.Text = EP.label;
|
||||||
@ -91,11 +90,20 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
tb.Multiline = true;
|
tb.Multiline = true;
|
||||||
tb.ScrollBars = RichTextBoxScrollBars.Both;
|
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);
|
_DicStepRtb.Add(EP.name, tb);
|
||||||
panelEP.Controls.Add(tb, 1, panelEP.RowCount - 1);
|
panelEP.Controls.Add(tb, 1, panelEP.RowCount - 1);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
panelEP.RowStyles.Insert(panelEP.RowCount - 1, new RowStyle(SizeType.AutoSize));
|
||||||
|
}
|
||||||
if (EP.type.ToLower() == "logical")
|
if (EP.type.ToLower() == "logical")
|
||||||
{
|
{
|
||||||
CheckBox cb = new CheckBox();
|
CheckBox cb = new CheckBox();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user