snakefoot/cgridlistctrlex

SetCellMargin() just increases font size

nu774 opened this issue · 1 comments

nu774 commented

Edited the following line in the demo app (CGridListCtrlExDlg.cpp) and increased margin value to 2.0:

// Give better margin to editors
m_ListCtrl.SetCellMargin(1.2);

The result is like this:
clip001

@nu774 Seems the font-size hack only works to a certain point, and then one have to go full owner-drawn.