the version of Lazarus i'm using is 2.0.12, while the FPC is 3.2.0.On Ubuntu 20.10 I could see the reported issue with Laz 2.0.10, but I cannot see it with Laz trunk - I do remember that AutoSize calculation has been re-done not so long ago. Probably the new code is used in Laz 2.2 - please try the currently available release candidate.