moudey / Shell

Powerful context menu manager for Windows File Explorer
https://nilesoft.org
MIT License
2.88k stars 96 forks source link

Dual monitor context menu size display abnormally. #448

Closed iray1024 closed 3 months ago

iray1024 commented 3 months ago

Shell in 1080p monitor:

shell_1080p_看图王

Shell in 4k monitor:

shell_4k_看图王

win11 context menu in 1080p monitor:

win11_1080p_看图王

win11 context menu in 4k monitor:

win11_4k_看图王

Due to image scaling, it may not appear very obvious, but in reality, it is displayed very small on a 4k monitor, while the context menu of Win11 is of the same size.

By the way, I am a 1080p resolution laptop connected to a 4k monitor via HDMI

RubicBG commented 3 months ago

https://nilesoft.org/docs/configuration/themes use:

font 
{
size=if(sys.is_primary_monitor, auto, 20)
}

adjust the size by changing the number 20

iray1024 commented 3 months ago

https://nilesoft.org/docs/configuration/themes use:

font 
{
size=if(sys.is_primary_monitor, auto, 20)
}

adjust the size by changing the number 20

wow, it works well, I think the reason for my problem is that I previously set it to: font { size=16 }

thanks RubicBG.