Login | Register

Center text in tray icons?

Updates on developement of new features and user input/requests

Moderator: imposter

  • Author
    Message

Center text in tray icons?

Postby CoreTemp-User084 » Sun Nov 30, 2008 11:53 pm

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);
CoreTemp-User084
New User
 
Posts: 2
Joined: Thu Jan 01, 1970 12:00 am

Return to Core Temp - Development

Who is online

Users browsing this forum: No registered users and 1 guest