Center text in tray icons?

Updates on developement of new features and user input/requests

Moderator: imposter

Post Reply
CoreTemp-User084
New User
Posts: 2
Joined: Thu Jan 01, 1970 12:00 am

Center text in tray icons?

Post by CoreTemp-User084 »

I know this isn't a big issue but I think it would look neater having the numbers centered. It is especially noticeable if you use an opaque background.

I'm not sure what method you use to draw your icons but if you use the DrawText windows api, here's how you can easily make it draw the text centered.

DrawText(HDC, szText, strlen(szText), RECT, DT_CENTER);

Post Reply

Return to “Core Temp - Development”