MediaArea / MediaInfo

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://MediaArea.net/MediaInfo
BSD 2-Clause "Simplified" License
1.26k stars 149 forks source link

Windows GUI: Improve window size for high DPI #840

Closed cjee21 closed 1 month ago

cjee21 commented 1 month ago

Take DPI scaling into account when setting window size. This should prevent cases where one ends up with a very small window filled with large icons and text when using a very high DPI display with very high DPI scaling.

Before and after this patch on a QHD display with 150% scaling for example

Screenshot 2024-05-23 005650

The difference will be more with higher scaling.

cjee21 commented 1 month ago

Tested on QHD display at 100%, 125%, 150%, 175%, and 200%. 100% 125% 150% 175% 200%