I have a VCL app that displays on a secondary monitor and has only one form.
The app must look the same no matter what the dpi of the primary or secondary monitor is. It must not rescale.
I have recently upgraded to tms fnc ui pack 10.7.4.1 and some TAdvSmoothListBox that the form has, are trying to scale, breaking the layout.
The environment is Delphi XE7. Windows 10 build 19044 (latest).
Primary monitor dpi setting: 125%
Secondary monitor dpi setting: 100% (the main form app shows in this monitor)
The app manifest is:
uncommenting the dpiAwareness tag has the same results.
Main form has scaled property set to false.
on form create this is done:
for i:=0 to Screen.MonitorCount-1 do
if (Screen.Monitors[i].Primary=False) then
screenshot, previous version of tms (tms ui pack 18.104.22.168):
screenshot, current version ui pack 10.7.4.1:
I think the problem is that the component is not aware that the monitor in which the form is displayed is has dpi 100%, not 125%.
Is there any workarround?