When the text in a cell is truncated because the column width is too narrow, the contents of the cell move up by 1 pixel. What is the reason for this, and how can I prevent it? It just makes the grid look messy as the text in different cells is not aligned.
Hello Campbell,
Thank you for the post . May i know which version of control you are using.
In order to understand the issue i setup a grid sample against supported version V24.1 and have once long text cell value and i dont see any text moved up or have messy grid look.
So may be if you are still using V15.1, issue was with the older version which was fixed later at some point or i need more information to cover your whole scenario.
I attached my sample here please modify the sample reproducing the issue and share it back for further investigation.
Thank you.
8540.WindowsFormsApp3.zip
Hi Divya,
I am using 24.1. Your sample actually shows the issue quite well. Let me post a screenshot:
Aargh, your forum is a nightmare, none of the options work. Please take a look at http://panningforbrown.co.uk/img/cell.png
Hello,
Now i understand ,but this looks like GDI issue , try this:
this.ultraGrid1.TextRenderingMode = Infragistics.Win.TextRenderingMode.GDI;