leandrosa81 / taskbar-monitor

monitoring tool with graphs (CPU, memory, disk and network) for Windows taskbar.
https://lugarinho.tech/tools/taskbar-monitor
GNU General Public License v3.0
279 stars 24 forks source link

Text font stucked to bold. #21

Closed logan2k closed 3 years ago

logan2k commented 3 years ago

No matter which font you choose, the style will always be fixed to bold, even if you select other style and apply it, the final results are always bold style.

KoalaBear84 commented 3 years ago

Some screenshots would be nice so it can be seen. Please add a screenshot of the font dialog as well.

KoalaBear84 commented 3 years ago

Please see the posted screenshot, "Bold" is selected, please select "Regular": image

logan2k commented 3 years ago

1

KoalaBear84 commented 3 years ago

What happens when you press "OK" after this, and "Apply" after that?

logan2k commented 3 years ago

What happens when you press "OK" after this, and "Apply" after that?

No need to apply to see the bug. After press OK, the style is just ignored, you can see the preview is still bold, and you can immediately click the font setting and see it's reset to bold.

KoalaBear84 commented 3 years ago

Sorry for not believing you/it. I see this is hardcoded. Then we'll wait for @leandrosa81 to answer.

See for code: https://github.com/leandrosa81/taskbar-monitor/blob/master/TaskbarMonitor/OptionForm.cs#L118

leandrosa81 commented 3 years ago

now you should be able to change font style too, let me know if there is any problem.

KoalaBear84 commented 3 years ago

Hmm, looks like I cannot get it to Bold now, the rest sometimes works.

Top is old, bottom is new. image