Maybe someone have the same problem and this can help him. I think this problem have to do with scaling - i have scaled my monitors.
This is probably due to an interaction between the different scaling settings in the program and the operating system.
The first time when I worked with designer no problem. After any times started the designer the Data Inspector will go to another position and become bigger and I could not change this. I have searched one day for my error or some problems because installed some packages - the problem continued. Examples I loaded down - same effect. I was working with Lazarus 4.0 under Windows 11 24H2.
Then I have installed Lazarus 3.6 with only the components for LazReport to check. Same effect. Then I was sure it comes from LazReport. I have found then a ini-file lrFieldsList.cfg in Appdata\Local (Windows 11 24H2) for save only for the Data Inspector the position and the height and width about over 70000 and impossible position.
I have searched in sourcecode and found in C:\Lazarus\components\lazreport\source\lr_design_ins_filed.pas at line 158
procedure TlrFieldsList.RestorePos;
There will be loaded the last position - and for the first time I have solved the problem to stop reading the values and take the start values.
procedure TlrFieldsList.RestorePos;
var
Ini:TIniFile;
begin
(*
if FileExistsUTF8(IniFileName) then
begin
Ini:=TIniFile.Create(IniFileName);
Left:=Ini.ReadInteger('Position', 'Left', Left);
Top:=Ini.ReadInteger('Position', 'Top', Top);
Height:=Ini.ReadInteger('Position', 'Height', Height);
Width:=Ini.ReadInteger('Position', 'Width', Width);
Ini.Free;
end
else *)
begin
Width :=300;
Height :=400;
Top :=120;
Left :=40;
end;
end;
This change - comment out - load now the Data Inspector on the standard position.
Next: To change the width and height is also impossible.