Why does the spacing of text of an UltraTextEditor change when it is in Edit mode compared to when it isn't? It seems that when the control has focus, an extra pixel of space is created around all the text, moving it slightly to the right, and slightly down. This is more noticeable if there are multiple lines of text.
Hi Daniel,
You should probably start a new thread, since your question is only marginally related to this thread. But it depends on how you are applying the ToolTip. When AlwaysInEditMode is true, the UltraTextEditor will display a TextBox control on top of itself. So you might have to apply the ToolTip to that TextBox control, instead of to the UltraTextEditor.
Hello Brian
if I set the property 'AlwaysInEditMode' , then a ToolTip on the UltraTextEditor will not be displayed.
Is there a workaround for this issue?
Thanks!
Thank you, that works, however now all our message boxes do not display correctly, presumably because the font sizes are incorrectly calculated?
What your looking for is:
Infragistics.Win.DrawUtility.UseGDIPlusTextRendering = false;
Documentation about this property can be found here:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.v11.1~Infragistics.Win.DrawUtility~UseGDIPlusTextRendering.html
Sorry to re-open an old problem, but is there any way to set this globally?
All our UltraTextEditor controls are exhibiting this behaviour, and it's a pain to have to set this property on every control. Surely the default behaviour should be to work correctly, i.e. not change font when control enters edit mode.
And which font is correct (i.e. consistent with the labels etc)? The one in edit mode or not edit mode?
Cheers
Boz