Closed salvadordf closed 4 years ago
The changes do not make VCL.Styles perMonitor aware. If you have forms in different monitors it will not work even with these changes. PerMonitor awareness would require to have the style in different resolutions in memory and each form to use the appropriate one.
As it stands, you would get better results with the existing version and system DPI awareness, unless there is just one form or you make sure all the forms are in the same monitor.
"... unless there is just one form or you make sure all the forms are in the same monitor." This is probably how most people use an application. You move the main form to a monitor and use it in that monitor ;-)
The change isn't perfect, but it enables you to use VCL styles in an application that is either system DPI aware or per-monitor DPI aware. With the changes you are able to choose which works best for you.