How To Change Font Size In Notepad++

29

4

Just like the title says, I'm trying to change the font size in Notepad++ to what it should be.

I don't know why it's so huge.

enter image description here enter image description here

Pie

Posted 2015-06-30T18:42:10.083

Reputation: 493

Can you verify if the Windows Updates of January 2017 fix the bug of big font size in Notepad++ tabs? Something seems to have fixed the problem for me and another user – Carlos Quintero – 2017-01-20T12:12:30.170

Update: the January 2017 Windows Updates don't fix the problem, it has appeared again. – Carlos Quintero – 2017-01-23T12:36:53.420

Possible duplicate of How can the font size be changed in Notepad++?.

– Peter Mortensen – 2018-07-03T08:24:05.213

Answers

18

You can check out the "Reduce" option in Settings > Preferences > General > Tab Bar (section).

In Notepad++ (6.5) the size setting for tab labels is in Settings > Preferences > Tab Settings, although this appears to be a setting for formatting within documents.

Hopefully one of those settings will help.

ABashore

Posted 2015-06-30T18:42:10.083

Reputation: 535

3"Reduce" seems to be what the asker is looking for. – MBraedley – 2015-06-30T19:01:51.490

4I actually had to uncheck reduce to make it look more normal. It's still larger than the other screenshots I've seen. Could be my display resolution or something maybe. – Pie – 2015-06-30T19:26:35.247

1The nuclear approach would be to uninstall / reinstall Notepad++. Everything should go back to defaults after the re-install. – ABashore – 2015-06-30T19:27:36.857

4Err... "Tab Settings" is for setting the number of spaces inserted when you hit the Tab key, not the size of document tabs. – helrich – 2015-07-01T11:21:59.977

32

You can also change the size of font in Notepad++ by holding Ctrl + scroll with mouse wheel.

BustedSanta

Posted 2015-06-30T18:42:10.083

Reputation: 1 413

7+1 as this is very likely the original cause to OP's problem. – DLeh – 2015-06-30T19:53:53.327

13CTRL + Scroll does not affect the size of the tab titles. It only affects the size of the editable regions. – ABashore – 2015-06-30T20:29:00.987

2@DLeh Using Ctrl key and scroll wheel will not make the font size of the tab title explode in size! It only affects the display of the document text, not GUI elements. – Samir – 2016-06-04T11:38:23.143

2I think the intent of the OP was to reduce the TAB font size, judging by the screenshots. Though your answer is correct, the question you are answering is different. Correct me if I'm wrong. – NoCatharsis – 2016-09-28T12:32:33.063

14

I'm trying to change the font size in Notepad++

This is done in the Style Configurator:

  1. Goto Menu > Settings > Style Configurator

  2. Set Font size

  3. Check Enable global font size

  4. Press Save & Close

enter image description here

DavidPostill

Posted 2015-06-30T18:42:10.083

Reputation: 118 938

3But only works because you checked Enable global font size . An important step I missed first time around :-) – Carl Witthoft – 2016-07-14T13:40:13.620

2As I stated above, I believe you also are answering the wrong question based on the OP's screenshots. This issue appears to be addressing tab font size, and not text display size within the document. – NoCatharsis – 2016-09-28T12:35:21.730

2@NoCatharsis <shrug>. Look at the tile of the question. I doubt whether the OP will come back to clarify. It's a bad question and anyone looking to change the document font size will find this answer. – DavidPostill – 2016-09-28T12:39:42.310

It's a badly formulated question for sure. Although this is a great answer, it doesn't really answer the question if we turn a blind eye to the way the author formulated it and if we try to read between the lines what the author really wanted to ask. (This is what tells computers and humans apart. Be human!) What's peculiar to me is that by enabling "global font size" you don't just get bigger document font size (user data), you also get bigger line numbers (UI element), but the tab font size (UI element) is unaffected (even if you disable the "reduce" option in General preferences). – Samir – 2019-05-30T11:30:58.747

0

The font size in the TAB bar TABS is controlled by the following WidgetStyle lines in the stylers.xml.

If you decide to edit your stylers.xml file to see if it will affect your Notepad++ tab bars, be sure to make a backup copy in case you mess up the xml and need to return to the original code file. Just be sure that there is a space between the last parameter and /> otherwise you may find that something else broke and Notepad++ is not listening to your instructions.

Just to be clear; I did not find the following modifications to have an affect on the text size of the TAB BAR.

The 4 lines to edit are as follows:

    <WidgetStyle name="Active tab focused indicator" styleID="0" fgColor="FAAA3C" />
    <WidgetStyle name="Active tab unfocused indicator" styleID="0" fgColor="FFCAB0" />
    <WidgetStyle name="Active tab text" styleID="0" fgColor="000000" />
    <WidgetStyle name="Inactive tabs" styleID="0" fgColor="000000" bgColor="C0C0C0" />

As you can see, there is no fontsize = "" parameter and that needs to be added as follows.

To make the change, add fontsize= to each of the lines as follows.

    <WidgetStyle name="Active tab focused indicator" styleID="0" fgColor="FAAA3C" fontSize="14" />
    <WidgetStyle name="Active tab unfocused indicator" styleID="0" fgColor="FFCAB0" fontSize="14" />
    <WidgetStyle name="Active tab text" styleID="0" fgColor="000000" fontSize="14" />
    <WidgetStyle name="Inactive tabs" styleID="0" fgColor="000000" bgColor="C0C0C0" fontSize="14" />

Just another disclaimer; I found that making the changes in this post had no affect on the size of the texts displayed in the Notepad++ TAB Bar.

Quite honestly, I would like the text size of the entire GUI to be adjustable as the higher the resolution of a monitor, the smaller every thing becomes and Operating systems, including open source OSes such as Linux, do an extremely poor job of dealing with that problem. The end result is that as the quality of one's eyesight degrades, the more difficult it is for one to see what's on the monitor and to easily utilize one's computer.

What's worse, the harder it is for one to see what's on the monitor, the more one's eyes strain, and the more one's eyes strain, the more one's eyesight degrades.

As far as the magnifier tool that Microsoft put in Windows is concerned, that tool is a complete joke as it totally messes up the layout of the desktop every time it is started. After it is shut off, you have to go through and rearrange the desktop because it won't do that for you.

Scott Tovey

Posted 2015-06-30T18:42:10.083

Reputation: 21