Adjust the height of the Annotation Text window to scroll when moved past the bottom line.
This commit is contained in:
parent
cc108f3c85
commit
2c498554ee
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user