cnjinhao / nana

a modern C++ GUI library
https://nana.acemind.cn
Boost Software License 1.0
2.32k stars 333 forks source link

DPI scale text issue with menu_drawer #692

Closed edgarbernal5 closed 5 months ago

edgarbernal5 commented 7 months ago

Hi! I've found an issue with menu_drawer that is not drawing text correctly upon switching forms from different DPI scales. Here is an example when opens a form in a 4K monitor, looks good:

Menu 4k

but when change to a HD monitor, it looks like this:

Menu hd

Text renderer from menu_bar seems to work as expected, pretty sure it is the same renderer for items in menu_drawer. Don't know what is happening. Make sure that start_dpi_awareness() is been called at startup.

Thanks again!

qPCR4vir commented 5 months ago

Your #690 + #695 solved this for you?

qPCR4vir commented 4 months ago

There are many others and serous issues with DPI scaling. We are investigating solutions. See #690 , make DPI experimental: #699, etc. Please see Discussions: #698, #702 , #701