[Lazarus] autosize issue

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Sep 10 17:21:09 CEST 2010


On Fri, 10 Sep 2010 15:48:48 +0200
Andrea Mauri <andrea.mauri.75 at gmail.com> 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




More information about the Lazarus mailing list