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
95
UltaWinGrid: White spaces take more space when not in edit mode
posted
I am using “NetAdvantage for .NET 2008 Vol. 3 CLR 2.0”.

 

We have a small issue with the UltraWinGrid. It seems like some of the white spaces use more space as long as a cell is not in edit mode (and therefore less of the text in the cell shows). When a cell is clicked and becomes editable, the white spaces shrink and more of the text shows.

 

Can we set a property to change this behavior?

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    The grid draws text using GDI+. When a cell goes into edit mode, the grid displays a DotNet TextBox control over the cell, and the TextBox uses GDI text rendering. If you want it to be consistent, you could set the grid's TextRenderingMode to GDI.

Children
No Data