I use OnCustomDrawCell
event handler to draw bitmaps and text in cells. Calling ApplyBestFit
makes width of the cells enought to fit bitmaps but not enought to fit text.
For example a width of a bitmap is 16, width of a text is 100. After calling ApplyBestFit
width of a cell will be 100 (corresponding to the width of the text) and I'll see the bitmap and a part (84px) of the text.
I would like to the width of the cell be 116 in order to fit both the bitmap and the text.
Is it possible to set desired width of the cell within the OnCustomDrawCell
event handler?