Please review attached patch.
- ChangeBounds calls Invalidate itself.
Please apply if OK, thanx.
Sandro
Index: components/ideintf/objectinspector.pp
===================================================================
--- components/ideintf/objectinspector.pp (revisione 46974)
+++ components/ideintf/objectinspector.pp (copia locale)
@@ -2631,10 +2631,7 @@
end;
//debugln('TOICustomPropertyGrid.AlignEditComponents A
',dbgsName(FCurrentEdit),' ',dbgs(EditCompRect));
if not CompareTopLeft(FCurrentEdit.BoundsRect,EditCompRect) then
- begin
FCurrentEdit.BoundsRect:=EditCompRect;
- FCurrentEdit.Invalidate;
- end;
end;
end;
end;
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus