cgridlistctrlex icon indicating copy to clipboard operation
cgridlistctrlex copied to clipboard

SetCellMargin() just increases font size

Open nu774 opened this issue 7 years ago • 1 comments

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 avatar Nov 05 '17 04:11 nu774

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

snakefoot avatar Nov 05 '17 20:11 snakefoot