Find window font size



  • Hi,
    Is there any way to change the font size of **find **(ctrl+F) window ?
    It is too small, and very difficult for me to read it.



  • @S-Itzik

    It is too small

    Agreed, especially when I am on my laptop and not using my 3 jumbo external monitors. :-)

    Unfortunately, I know of no way to change what you are asking…hoping maybe someone else does…



  • @S-Itzik

    maybe it’s a scaling setting in windows, if you are using a hi-dpi screen, and not something within notepad++

    what is your current resolution and scaling percentage ?
    does it get more readable if you change those, like 100% scaling and a resolution of 1280x720(1280x800) or 1920x1080(1920x1200) ?



  • @Meta-Chuh

    Sure, but wouldn’t that make EVERYTHING bigger? My need would be to make ONLY the Find window more readable in this situation. Of course I could use Windows “Magnifier” tool…LOL…



  • @Scott-Sumner

    yes, maybe everything is so small that he wants to use the find option to find a np++ menu and not a text section because he can’t read anything at all 😂😂😂

    just kidding, the answer above was just because i remembered i had a client that had a specific scaling/resolution combination where some menus and button fonts of different programs were not properly scaled to match the rest



  • ok
    bolded text



  • Any other suggestion?



  • @S-Itzik

    There is a rather hackish way to do what you want.

    1. Download and install the tool Resource Hacker.
    2. Go to the installation directory of Notepad++ and copy notepad++.exe to a directory where you have write access.
    3. Load this copied version of notepad++.exe into Resource Hacker.
    4. In the tree structure in the left pane open the node Dialog and navigate to the subnode 1600 : 1033 (see below). In the right pane you will see the resource code of the Search/Replace/Search in Files/Mark dialog. Somewhere on your screen the graphical representationof the dialog should pop up (similar to that what you see when running Notepad++).
    5. Go to the line FONT 8, "MS Shell Dlg"and change it to FONT 10, "MS Shell Dlg". This will change the font size of the dialog from 8 pt to 10 pt.
    6. Click on the green triangle in the toolbar of Resource Hacker to compile your changes.
    7. Go to (menu) File -> Save to save your changes. Resource Hacker will create a backup of the original notepad++.exe.
    8. Copy the changed version of notepad++.exe to the installation folder of Notepad++. To be save I recommend to rename the original EXE file to e.g. notepad++org.exe.

    When you start Notepad++ the next time you will have enlarged fonts in the Search/Replace/Search in Files/Mark dialog.


    Resource Hacker with loaded notepad++.exe.

    Font size set to 12 pt. Note: the tab titles are still in original size.



  • @dinkumoil

    Nice hackish technique. It appears that the new Find window will be much larger than the old one due to this–is that right? If so, maybe I can see a new complaint coming from the OP…

    :-)



  • @Scott-Sumner
    e.p.s. ;-)

    @S-Itzik
    could you provide us with a whole screenshot, where we could see the find window as well as the rest of notepad++ ?
    just because it sounded like ONLY the find window seems to have small fonts, but they should have the same font size as all other menus



  • @Meta-Chuh said:

    E.P.S. is not exactly right in this case. In this case it is more of S1PC2P…Solving 1 Problem Creates 2nd Problem

    it sounded like ONLY the find window seems to have small fonts, but they should have the same font size as all other menus

    I know what the OP is saying. I think the fact that other things are also small is not as big of a deal as the fields in the Find window being small. Find is used very often while text editing; other things, (usually) not so much…YMMV



  • @Scott-Sumner

    You are right, this technique causes the dialog to grow in size.

    Regarding S1PC2P (BTW a nice one :-) ): In german there is a proverb “Wash me but do not make wet my fur”…



  • Hi there,

    Ok I did what you suggested dinkumoil . It indeed solved the text size issue in Find box - Thank you! , but now (as others mentioned) the find box became really big (I changed the size to 14).

    @Scott-Sumner said:

    @Meta-Chuh said:

    E.P.S. is not exactly right in this case. In this case it is more of S1PC2P…Solving 1 Problem Creates 2nd Problem

    it sounded like ONLY the find window seems to have small fonts, but they should have the same font size as all other menus

    I know what the OP is saying. I think the fact that other things are also small is not as big of a deal as the fields in the Find window being small. Find is used very often while text editing; other things, (usually) not so much…YMMV

    Couldn’t write it better :-)



  • So disregarding the font size on the Find window entirely…and thus going off-topic to the thread…

    I often find the Find window just plain annoying when on-screen. Don’t get me wrong, I like having ready-access to it, but it just seems to be always in the way. With my super-duper 3 monitor setup it is not terrible: I have N++ maximized to one monitor (the middle one), and I keep the Find window on the left monitor near the top right edge–close to N++ but not covering any part of it.

    When I’m on my laptop with only 1 screen, the situation is worse: If I leave Find open then it is always on top of something else of N++'s. In this case I usually have the Find result panel or the Pythonscript console window open (at the bottom of N++), so I put the Find window on top of these but over on the right-hand side.

    Sure, I could close/open/close/open/etc Find as I need it…that gets annoying too. I like the way the Incremental Search window is unobtrusive, but it doesn’t have the power I want in a find feature.

    The best situation for me is when I can just use the Select and Find Next (or Previous) feature…which I consider a “killer app” feature for Notepad++.

    Just some random ramblings… :-)



  • @Scott-Sumner

    i never knew until your last post, but NOW i’d like to have a completely 2d rendered, zoomable find window (graphics and font scaling)

    ctrl+mouse wheel inside find/replace should scale the whole find window to the size one needs, and if one desires, zoom it out completely to make it a thumbnail …

    … and if it is a thumbnail, one click on it should suffice to zoom it back to the smallest readable size and collapse it again as soon as you change the window focus, like clicking anywhere else ;-)



  • @Meta-Chuh said:

    i never knew until your last post

    Sorry for making you aware.
    Is it like when you see something you don’t want to see, and then wish you could unsee it? :-)

    Sad to say, but I’ve seen feature-requests for improved Find interactivity just sit and sit and sit. To Don the current interface must be the most-awesomest Find interface ever created. Thus I just put some “ramblings” forward here instead of creating another real feature request to improve it…



  • @Scott-Sumner

    Is it like when you see something you don’t want to see, and then wish you could unsee it? :-)

    almost exactly, but this time i DO want to see it ! lol

    feature-requests for improved Find interactivity just sit and sit and sit

    maybe such a 2d rendered, smart-scaleable find window is creating more spreaded awareness to fire up some coder’s ego trip, despite being about the most complicated thing ever to do … and it gets done and commited (i wish ;-)

    and … maybe … just maybe … some “ramblings” can help creating ideas that are to cool to be unseen or forgotten ever again



  • Hello, @dindkumoil, and All,

    Oh, wonderful ! Just two minutes and I got the right exe :-))

    Personally, I don’t have any screen problem. so, having, only the Find/replace window a bit taller is just what I want to !. Of course, I did some tests :

    The fonts mapped to the labels MS Shell Dlg and MS Shell Dlg can be found, below :

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes

    On my Win XP machine, these are :

    • MS Shell Dlg => Microsoft Sans Serif

    • MS Shell Dlg 2 => Tahoma

    So, I tried, with size 10, MS Shell Dlg, MS Shell Dlg 2 and, also, Arial, Verdana, Comic Sans MS, Trebuchet Ms, Consolas, Courrier New and even with no font between doubles quotes !

    • I got a window S/R a bit taller, than default Font 8, "MS Shell Dlg", for Tahoma, Arial, Comic Sans and Consolas fonts

    • Size of the S/R window is more important for Verdana, Courier New, Trebuchet MS and without any font name

    I think that a good compromise would be the Consolas mono-spaced font, in size 10, which seems to display text in a pseudo-bold way, having any character with a same width ! Note that I was not able to get the bold variation of all the tested fonts, although I’ve read, carefully, information from, below :

    http://forums.codeguru.com/showthread.php?448521-Question-about-Dialog-Font-in-RC-File&p=1697034#post1697034

    https://docs.microsoft.com/fr-fr/windows/desktop/menurc/font-statement

    https://docs.microsoft.com/fr-fr/windows/desktop/api/wingdi/ns-wingdi-taglogfonta

    Many thanks, Dinkumoil, for, both, pointing out this nice utility and giving us this work-around ;-))

    Best Regards,

    guy038



  • @guy038

    I think it is particularly important to have a monospaced font (e.g. Consolas) for the Find what and Replace with zones, as most people are used to a monospaced font in their main editor tab windows, and when you paste into the default Find what and Replace with boxes, it is jarring to see non-monospaced text appear there (for example, lowercase i characters are very annoying).



  • For readers/followers of this thread: Notepad++ 7.8 (and presumably later versions) gives the Find what and Replace with boxes monospaced fonts, thus making their contents easier to read. From the N++ 7.8 change log:

    • Make Combobox font monospace in Find dialog.

Log in to reply