Using ChildSizing layout with controls that override AdjustClientRect shows that the adjusted client rectangle is not respected.
Attached:
- Screenshot with a TPanel and a extra thick bevel to demonstrate the problem.
- patch to wincontrol.inc, which uses GetAdjustedLogicalClientRect instead of LogicalClientRect in ChildSizing
- Screenshot of the same example with modified LCL
- Source of the example
But maybe there is a good reason for the current implementation and I miss something?