Add logic to make entire RTBItem visible when it is resized.
Added event handler for MyStepRTB.Resize
This commit is contained in:
parent
41f5b634fc
commit
b36187adcb
@ -342,9 +342,6 @@ namespace Volian.Controls.Library
|
|||||||
// _Loading = false;
|
// _Loading = false;
|
||||||
// //// TIMING: DisplayItem.TimeIt("CSLARTB Controls Add");
|
// //// TIMING: DisplayItem.TimeIt("CSLARTB Controls Add");
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void SetupHeader()
|
private void SetupHeader()
|
||||||
{
|
{
|
||||||
SetupHeader(MyItemInfo);
|
SetupHeader(MyItemInfo);
|
||||||
@ -354,9 +351,9 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
void _MyStepRTB_Resize(object sender, EventArgs e)
|
void _MyStepRTB_Resize(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// Console.WriteLine("Left {0} Width {1}", Left, Width);
|
if (MyStepPanel != null && this == MyStepPanel.SelectedEditItem)
|
||||||
|
MyStepPanel.ScrollControlIntoView(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Label lblHeader = null;
|
private Label lblHeader = null;
|
||||||
private Label lblFooter = null;
|
private Label lblFooter = null;
|
||||||
private void SetupHeaderFooter(ref Label lbl, string name, MetaTag mTag)
|
private void SetupHeaderFooter(ref Label lbl, string name, MetaTag mTag)
|
||||||
|
BIN
PROMS/Volian.Controls.Library/RTBItem.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/RTBItem.designer.cs
generated
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user