ideintf: objectinspector: fix high-dpi in custom property grids. Issue #31769

git-svn-id: trunk@54928 -
This commit is contained in:
ondrej 2017-05-14 14:43:31 +00:00
parent 043c32411e
commit a5fb446af5

View File

@ -1132,7 +1132,7 @@ end;
constructor TOICustomPropertyGrid.Create(TheOwner: TComponent);
begin
CreateWithParams(TheOwner,nil,AllTypeKinds,22);
CreateWithParams(TheOwner,nil,AllTypeKinds,0);
end;
destructor TOICustomPropertyGrid.Destroy;
@ -6021,7 +6021,7 @@ begin
Hook:=TPropertyEditorHook.Create(Self);
FAutoFreeHook:=true;
FSaveOnChangeTIObject:=true;
CreateWithParams(TheOwner,Hook,AllTypeKinds,22);
CreateWithParams(TheOwner,Hook,AllTypeKinds,0);
end;
destructor TCustomPropertiesGrid.Destroy;