Add logic to make entire RTBItem visible when it is resized.

Added event handler for MyStepRTB.Resize
This commit is contained in:
Rich 2012-03-16 09:20:20 +00:00
parent 41f5b634fc
commit b36187adcb
2 changed files with 3 additions and 6 deletions

View File

@ -342,9 +342,6 @@ namespace Volian.Controls.Library
// _Loading = false;
// //// TIMING: DisplayItem.TimeIt("CSLARTB Controls Add");
//}
private void SetupHeader()
{
SetupHeader(MyItemInfo);
@ -353,10 +350,10 @@ namespace Volian.Controls.Library
LastMethodsPop();
}
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 lblFooter = null;
private void SetupHeaderFooter(ref Label lbl, string name, MetaTag mTag)

Binary file not shown.