Hello,
We are using the Ultra Grid (version 10.2) in our current project and we are getting visual inconsistencies.
To reproduce the visual bug:
Add a UltraGrid to the form and paste this line in the form initialization:
ultraGrid1.DataSource = new List<string> { "rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr",
"this test will not make the visual glitch" };
You should see in the first row a change in the character spacing after around 33 characters.
See image below:
Hi,
This is nothing to do with the grid - this is how GDI+ text rendering works. You can demonstrate the same behavior in an inbox Label control.
If this is causing you problems, you can set grid.TextRenderingMode to GDI and it will use the older GDI text rendering which is more consistent.
You can also set all Infragistics control to use GDI at the application level by setting:
Infragistics.Win.DrawUtility.UseGDIPlusTextRendering = false;