Do you want to produce DPI aware Vcl applications and use Vcl Styles? You are out of luck. Vcl Styles are unusable in High-DPI settings. I suspect Embarcadero is preparing something in this area, but in the meantime you can try using this unit. https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas. Instructions for use are at the header of the file.

Do you want to produce DPI aware Vcl applications and use Vcl Styles? You are out of luck. Vcl Styles are unusable in High-DPI settings. I suspect Embarcadero is preparing something in this area, but in the meantime you can try using this unit. https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas. Instructions for use are at the header of the file.
https://github.com/pyscripter/pyscripter/blob/master/Source/VCL.Styles.DPIAware.pas

Comments

  1. Isn't it possible to write something similar for FMX?

    ReplyDelete
  2. Idea is good, but scaling will not be qualitative in this case. Also, it should not be global, it must be for control and for form as result. Our StyleControls VCL has solution for High-DPI and VCL Styles too, but only for our contorls + improvements for forms, menus and common dialogs. We provide smooth HQ scaling of style elements + solutions for HQ scaling of images in controls and many more. Solution is more complex in this case.

    almdev.com

    ReplyDelete

Post a Comment