[Lazarus] How to stop the ChildSizing?

Martin Grajcar maaartinus at gmail.com
Fri Jun 12 00:36:41 CEST 2020

There's a TPage containing a few components I want to position and size
manually (sort of position: 'absolute' in CSS). It works well, but then the
LCL comes and overrides my work....

I've played with Anchors, AutoSize and Align of both the parent (TPage) and
child components for quite a while, but nothing helped. I finally sort of
solved it by overriding SetBound in the children, so that only my own calls
get honoured.

It works, but it isn't possible with standard components, so I'm looking
for something better. Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200612/db009a6d/attachment.html>

More information about the lazarus mailing list