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
744
Edit mode text rendering is different to display mode in texteditor
posted

Hi, I logged a support request on the 8th highlighting an issue that I'd consider quite basic, and it's still awaiting asignment, can someone have a quick look? It's Case Number is: CAS-33034-HBKG1R I'm posting here in case there's a known work around/

Text is rendering a different size / spacing when in edit mode (both in edit, and textbox, I assume it's a texteditor in the grid which is why I posted here.) affecting both my vista and xp machines.

It's really ruining the work flow as when people click where they want into a textbox, the text changes size, and they end up editing the wrong part of the text.

See the screen shot, 2 cells in the top left, one in edit mode, the other not, both have identical content.

Many thanks.

- Anthony

Parents
  • 69832
    Suggested Answer
    Offline posted

    This is because of the differences between GDI and GDI+, as discussed in this knowledge base article. The long and short of it is, you can get around it by setting the control's TextRenderingMode property to GDI, although by doing that you lose the "benefits" of GDI+ text, which is basically better performance.

Reply Children