On Fri, 10 Sep 2010 15:48:48 +0200
Andrea Mauri <[email protected]> wrote:

> I have a question.
> I put a panel on a form. Then I put a button on the panel. I set 
> Autosize of the panel to true, the panel height become 2 and the button 
> is no more visible. Bug or I miss something?

I do the same and the panel shrinks to the height of the button plus
its frame:

http://wiki.lazarus.freepascal.org/Autosize_/_Layout#AdjustClientRect_and_Align


Mattias

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

Reply via email to