codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

CodeMaid spade font size smaller than visual studio font size

Open erys opened this issue 4 years ago • 3 comments

Environment

  • Visual Studio version: 2019 Community
  • CodeMaid version: 12.0
  • Code language: C#

Description

Where does CodeMaid get the font size used in the spade window? I saw in other issues that it was mentioned that the font size can't be set separately from visual studio's font size, but almost all of my font sizes in visual studio are set to 12-15, while the code maid spade tool window appears to be using 9pt or so. Currently I'm using the ctrl+scroll method to zoom in, but that leaves it looking blurry.

erys avatar Nov 27 '21 17:11 erys

Thanks for asking the question. I believe we currently have font sizes hard-coded. A main example would be here: https://github.com/codecadwallader/codemaid/blob/dev/CodeMaidShared/UI/ToolWindows/Spade/CodeItemTemplates.xaml#L14

This could be customized similar to how we allow the font itself to be customized. There would be some more locations to hunt down beyond the main example above but I suspect searching for FontSize would find most of them.

codecadwallader avatar Nov 30 '21 13:11 codecadwallader

Why would you hard-code the font size?? Even if a setting in the UI is not available, there should be a config file we can change.

csc14us avatar Jun 21 '23 03:06 csc14us

I would also like to change the font size, which is not very friendly to my poor eyesight. Can add this function to change the font size? Thanks.

BILY5354 avatar Nov 02 '23 03:11 BILY5354