I thought scaling an application in FireMonkey should be easy, as it should work with Retina-Mac too. There seems to be some background magic that chooses a different style than, but it doesn't look like Windows.
In VCL, there was TForm.Scaled that does the job (more or less).
For FireMonkey, I found this Embarcadero article , but it seems that Embarcadero is not entirely sure if this approach is useful, since in XE5 the βControlsDemoβ sample project does not contain a zoom bar anymore. It also requires root-TLayout in all forms for which a scale factor can be set. I don't have such an element in my forms (and I'm afraid to add it, because I cannot be sure that I am launching another firemonkey error than).
So, how do I explain the various DPI settings with FireMonkey?
Edit: I tried to hack TPlatFormWin and set CurrentScreenScale to 2, but that didnβt work: I have black toolbars but no scaling, but at least he used the HighRes alternative from the provided TImage.MultiResBitmap.
delphi firemonkey delphi-xe5
Steffen binas
source share