Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Shifting Text
posted

The text in utlra win editors tends to jump or shift as users enter/leave a control e.g. ultratexteditor, datetime, combo, etc. Setting TextRendering to GDI helps, but does not eliminate this problem. When multi-line is true and a vertical scrollbar is present, the problem is even worse, since now the text realigns as the vert scrollbar appears/disappears. Setting AlwaysInEditMode = true resolves most of this, but raises other problems, especially with the SpellChecker.

   My question is "Why doesn't this shifting text seem to bother anyone?" I've seen few complaints about it. Do most people 1) set AlwaysInEditMode = true and live with the consequences, 2) not experience this issue 3) not mind the shifting that occurs.

 

  • 37774
    Suggested Answer
    posted

    There have already been some adjustments to the positioning logic done recently that should be made available in the next service release.  If you would like to be automatically notified when this fix is release, you should contact Developer Support and mention TFS17178 for a MaskedEdit-based control (i.e. UltraMaskedEdit, UltraNumericEditor, etc), or TFS19960 for the UltraTextEditor shifting.

    When using GDI+ with the UltraTextEditor, I believe that you'll see a change in the font/text appearance regardless since the UltraTextEditor positions a .NET TextBox within its bounds to handle the edit portion, but this control always renders with GDI.  This might be why you're seeing a larger difference when going into edit mode in this case.

    -Matt