On Mon, 19 Jul 2010 21:02:37 -0400
waldo kitty <[email protected]> wrote:

> On 7/19/2010 17:54, Mattias Gaertner wrote:
> > Keep in mind, that the old autosize code had to work with buggy
> > widgetsets and therefore had to silently ignore some errors. Since
> > these bugs were fixed the new autosize can now raise an exception when
> > it spots an inconsistency or an endless loop.
> 
> how many times thru the loop before the exception is raised? or does it count 
> travels thru the loop to determine an endless loop?

TWinControl.AlignControls and TAnchorSide.GetSidePosition stop after
ControlCount number of runs. 
DoAllAutoSize did not stop. I added a counter. The LCL now raises an
exception. 

Tobias, please test.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to