Toolbar icon too small on Hi-DPI monitor
nobk opened this issue · comments
Almost can not pick and click on 5K resolution screen.
well, you could say, "this Project it is only under Maintainmode"
and close this issue.. but a scaling of the icons would be nice ;)
from 16px over 32px up to 48px
because the U-HD monitors be coming and there be really high screen resolution possibility.
the next monitor it is also a UHD-TV and therewith have i a really big workplace screen
best regards
blacky
Hi, this seems old, but I found something that can help you. I can guarantee that it works.
http://www.danantonielli.com/adobe-app-scaling-on-high-dpi-displays-fix/
Btw, does anybody have a fork more actively developed with this issue resolved?
In the new Windows 10 Creators Update you can enable Enhanced GDI Scaling. The Toolbar buttons will be scaled very nicely.
i think this one is a bit more dpi aware: https://github.com/zufuliu/notepad2
problem wit that one is that the text itself is to big... Somehow on my laptop the default font is way bigger then it normally should be (Consolas 10) and if i make it 8 it is still to big for my taste
@jcompagner Which version? the latest v4.2.25r1110?
@jcompagner If you can build my fork of Notepad2 (follow the wiki article https://github.com/zufuliu/notepad2/wiki/Build-Notepad2),
you can tune the line 2557 in Styles.c
// Size
if (Style_StrGetSize(lpszStyle, &iValue)) {
iValue = MulDiv(iValue, g_uCurrentDPI, USER_DEFAULT_SCREEN_DPI);
SendMessage(hwnd, SCI_STYLESETSIZE, iStyle, (LPARAM)iValue);
}
which will set font size to (size * dpi) / 96
.
@jcompagner As of 8e35062703d6c43cffe9122bdcc2915d90d804c3, zoom level settings is saved in Notepad2.ini, you could try to zoom out the text.
@jcompagner Notepad2 now support use fractional font size (see zufuliu/notepad2@b7595f0).
It can be set var Customize Schemes (not the font selection dialog through View -> Default Font...). You can change Default Text -> Default Style to change global default font.
Please give a try, thanks.
Please also try to switch different rendering technologies (Menu -> Settings -> Rendering Technology), and seeing if it help.
In my Win10, rendering with Direct2D is somewhat smaller than the default GDI.