Hi there,
I created a Form in Lazarus and just wanted to use childsizing to automatically center and distribute some buttons on a form. Now, the ChildSizing works, but when the Form gets resized, so that the Buttons don't fit on the form, it just instantly crashes. I don't know if this is intended behaviour, so I'm posting this here.
The IDE also crashes and leaves an unresponsive process if you make the Form small enough and also if you change the layout property of ChildSizing.
I'm not sure what to do here, since setting a minimum size will not work, because I wan't to use the Form with AnchorDocking, which AFAIK doesn't support setting minimum size contraints.
I've attached Screenshots and a GIF of it crashing.
EDIT: I experimented a bit and found out, that it only happens when both MaxHeight/MaxWidth AND MinHeight/MinWidth are set for the Buttons in the form. I did it this way, because else the buttons don't stay in the shape I want them to be.
If there are other solutions to let them keep the same shape(square), that would also maybe solve the problem.
Specs:
- Lazarus 2.2.0
- FPC 3.2.2
- Linux Mint Cinnamon 64 bit
Thanks in advance for any help!