[Lazarus] Centered elements in autosize enabled panel. Possible?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Nov 11 12:14:13 CET 2013

On Mon, 11 Nov 2013 12:51:14 +0200
Valdas Jankūnas <zmuogs at gmail.com> wrote:

> 2013.11.11 06:06, Avishai rašė:
>   I found why TBevel "doesn't want" shrink less than 50px: TBevel has 
> function "GetControlClassDefaultSize" where "Result.CY := 50;" is hardcoded.

That's the default size of the control. The constraints are
applied after.

A TBevel can be shrinked to less than 50.


More information about the Lazarus mailing list