On Sun, 4 Apr 2010 19:21:00 +0200 (CEST)
Michael Van Canneyt <[email protected]> wrote:

> Hi,
> 
> 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.

 
> In Lazarus, the panel is still shown.
> 
> Is this a known bug ?

A feature. You are the first asking. Do you need it?


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to