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
250
UltraGrid, CellSpacing and CellMultiLine: Bottom of text not shown
posted

Hi

I have an UltraGrid where I set:

  • this.ultraGrid2.DisplayLayout.Override.CellSpacing = 20;
  • this.ultraGrid2.DisplayLayout.Override.RowSizing = Infragistics.Win.UltraWinGrid.RowSizing.AutoFree;
  • ultraGridColumn2.CellMultiLine = Infragistics.Win.DefaultableBoolean.True;

I put a long text in a cell and it is "wrapped" into multiple lines as expected.
My problem is that the bottom part of the text in the last line is being hidden when I set cell spacing, see attached screenshot (the bottom part of the "g" cannot be seen, and it makes it difficult to read the text).
The whole text is being shown if CellSpacing is set to 0.

Can anyone help? I would like to use CellSpacing and at the same time be able to see the whole text.

Thanks 

Parents Reply Children