FlowPanel autosizing
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
Autosizing of TFlowPanel does not work correctly, it always shrinks its width to zero
Steps to reproduce:
Add a TFlowPanel to a form and put two buttons into the flowpanel. No further changes with these components nieeded.
Set the AutoSize property of the flowpanel to true
--> The width of the flow panel will be reduced to zero.
Only when the width of the flow panel is restricted - by aligning or anchoring the control - autosizing works reasonably.
Additional information:
Doing the same in Delphi XE 10.3 adjusts the width of the flowpanel to the largest button width and stacks the two buttons on top of each other.
Tested on Windows platform.
See also forum post https://forum.lazarus.freepascal.org/index.php/topic,47989.msg344942.html#msg344942
Mantis conversion info:
- Mantis ID: 36514
- Fixed in revision: 62486 (#ec8029f4)
- Target version: 2.0.8