Forum > Designer

DockedFormEditor trouble


Hello there, recently I am experiencing some strange effect in Lazarus docked form editor, here is what happens:

Lazarus 2.2.2 (rev lazarus_2_2_2) FPC 3.2.2 i386-win32-win32/win64

It seems the form editor enters an infinite loop recalculating the layout again and again because of the resize. It happens on some forms, on others it doesn't.

I've tried to simulate this on a smaller scale (out of that project) but failed. Anyone experienced something similar? Any ideas what property can cause this?

I think I found something: On a fresh new form it is enough to change the Form.Align property to something different than alNone and the form starts growing indefinitely.

Also, when the form has BorderStyle of bsNone, resizing it gives an inexact result, see attached picture.

Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-win64-win32/win64

I can confirm this behavior, as soon as you switch from alNone/alCustom to something stupid what you not should use for a mainform, the designer go crazy resizing all over.


[0] Message Index

Go to full version