Mattias Gaertner schrieb:
In delphi, setting a panel's AutoSize property to 'true' and aligning it to a
form edge, makes the panel disappear when the project is run.
This is logical, because, if there are no controls on the panel,
the needed size is zero.
Yes, and this is the problem. A visible control must not have the size
0,0. It makes no sense. This is bad in the designer. The gtk does not
like it.
Therefore the LCL ignores the child bounds if no childs are there.
Please keep initially invisible DockSites working, which expand when a
control is docked into them. See the ElasticSite demo.
DoDi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus