How to set "zoom" level of menu, toolbar and footbar ?
-
Using Notepad++, I can zoom text part but menu, toolbar and footbar (or statusbar) are not zoomable.
With screen’s resolution always bigger, what is displayed on windows is always smaller.
The user can zoom content, but zoom affects only main panel in window; menu, toolbar and footbar keep unchanged !
When Notepad++ will react and define menu, toolbar and footbar totally indepedant from operating system ?
PS: for toolbar, it is possible to use bigger icon but proposed icons are too big and their sizes are not customable. Why not use SVG to allow fine zoom ?
Thanks for any help or reaction.
-
As far as I know, there isn’t currently a way to change the zoom (or the font size) of the menu, toolbar, and statusbar. In general, the font size of those menu elements is controlled by the OS.
Notepad++ Developers and volunteers are working on improving the HiDPI behavior, but the general idea is that on high density displays, the OS should be set to 150% or 200% or similar, and I don’t know that the HiDPI fixes will allow the size of those textual elements to be modified by Notepad++ settings.
for toolbar, it is possible to use bigger icon but proposed icons are too big and their sizes are not customable. Why not use SVG to allow fine zoom ?
Notepad++ supports 16x16 or 32x32. other sizes is not as simple as “why not use SVG”. You can literally make .ico files have any dimensions you want – and actually have the same .ico contain copies of the image in multiple sizes, so you could set up a .ico file to have 8x8 and 16x16 and 24x24 and 32x32 and 256x256 if you wanted. But making use of those inside the Notepad++ code is another matter, and might be difficult to implement. (However, I would guess that making use of different .ico icon sizes would be signficantly less work than trying to rewrite the entire toolbar system to use SVG – I highly doubt that the built-in Win32 API calls have any way to directly use SVG data on a graphical element like a toolbar, so the NPP code would have to essentially do wrappers to convert the SVG to something that could be used by a normal toolbar control, which is a lot more work, and really not worth it, since .ico already have multiple sizes available.)
BTW: there are multiple existing feature requests for such things, such as this request for dialog and menu font size setting or this request for HiDPI toolbar icon choice, so the developer is aware that people want such things.
-
I currently use
https://github.com/Tatsu-syo/noMeiryoUI
in Windows > 7 removed settings to adjust fonts in Notepad++ and other programs . In Preferences, General -> Reduce may need to be unchecked for OS settings to be used.
Size of fonts changed should be modest as larger sizes may not fit in the area allocated in the GUI.
Microsoft appears to want users to use Scaling instead of the legacy of WindowMetrics.