UweRaabe / DFMScaling

Stores DFM files as 96 DPI while allowing to design in High DPI
MIT License
21 stars 5 forks source link

Non-visual component position scaling #2

Closed SergeyMaltsev closed 10 months ago

SergeyMaltsev commented 10 months ago

Is it possible to handle non-visual components (ImageList etc.) placed on form to be downscaled also? Now it saves positions related to Current dpi setting but not 96 ppi.

object Form1: TForm1
  Left = 132
  Top = 132
  Caption = 'Form1'
  ClientHeight = 449
  ClientWidth = 597
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  Position = poScreenCenter
  TextHeight = 15
  object Images: TImageList
    Left = 14
    Top = 126
  end
end

May be you have another workaround for this?

Thanks in advance.

SergeyMaltsev commented 10 months ago

Seems there are some problems in Delphi 12 for handling non-visual components on scaled HiDPI Designer after save.