When I use Segue UI either 8.25 or 9pt in a UltraTextEditor (set to Always in Edit Mode) when the Spell checker underlines the error it is too low and in a multiline textbox starts to collide with the text on the following lines.
Hello Gwyn,
Yes, you are correct. For this specific font and font size the underlining goes over the line bellow. However, you can easily fix this by setting the UnderlineVerticalOffset property of UltraSpellChecker. Set this to -2 or -3 like this:
this.ultraSpellChecker1.UnderlineVerticalOffset = -3;
and you will have better underlining.
Please let me know if any additional questions about this matter arise.
Unfortunately this property does not exist in my edition that has the error, 12.2.
I notice it first appears in 14.1
So not sure how I get a fix for my version 12.2? It was a bug in 12.2.
We are painting the underline for spelling errors each time the control containing these errors, in your case UltraTextEditor, receives paint message from the operating system.
This is internal code you have no access to. So there is no way to fix the position of the underline for versions prior 14.1 where we have introduced UnderlineVerticalOffset property.
What I can suggest you is to upgrade your application to the latest version of Infragistics for Windows Forms, or at least to version 14.1.
Please let me know if you have any additional questions.