fixed the problem where the last item in the step list was not scrolling all the way into view

logic to change background color if the item contains an annotation
This commit is contained in:
2010-01-11 14:05:31 +00:00
parent bf8a0560e7
commit cfb58493fa
5 changed files with 72 additions and 4 deletions

View File

@@ -745,7 +745,7 @@ namespace Volian.Controls.Library
_MyStepRTB.MyStepItem = this;
//// TIMING: DisplayItem.TimeIt("CSLARTB InitComp");
BackColor = myStepPanel.PanelColor;
_MyStepRTB.BackColor = myStepPanel.InactiveColor;
//_MyStepRTB.BackColor = myStepPanel.InactiveColor;
// TODO: Adjust top based upon format
// TODO: Remove Label and just output ident on the paint event
lblTab.Left = 20;
@@ -1335,7 +1335,8 @@ namespace Volian.Controls.Library
/// <param name="e"></param>
void StepItem_BackColorChanged(object sender, EventArgs e)
{
_MyStepRTB.BackColor = BackColor;
//_MyStepRTB.BackColor = BackColor;
_MyStepRTB.SetBackColor();
}
/// <summary>
/// When the RichTextBox height changes, change the height of the control to match