Adjust the height of the Annotation Text window to scroll when moved past the bottom line.

This commit is contained in:
Rich 2016-02-26 20:49:26 +00:00
parent cc108f3c85
commit 2c498554ee

View File

@ -100,6 +100,13 @@ namespace Volian.Controls.Library
//#if(DEBUG)
//Resize+=new EventHandler(AnnotationDetails_Resize); // Debug the resize event
//#endif
Resize += AnnotationDetails_Resize;
}
void AnnotationDetails_Resize(object sender, EventArgs e)
{
if(Height > 0)
rtxbComment.Height = Height - rtxbComment.Top;
}
#endregion