Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetCellMargin() just increases font size #39

Open
nu774 opened this issue Nov 5, 2017 · 1 comment
Open

SetCellMargin() just increases font size #39

nu774 opened this issue Nov 5, 2017 · 1 comment

Comments

@nu774
Copy link

nu774 commented Nov 5, 2017

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

@snakefoot
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants