[Lazarus] Centered elements in autosize enabled panel. Possible?
nc-gaertnma at netcologne.de
Mon Nov 11 13:25:46 CET 2013
On Mon, 11 Nov 2013 14:18:53 +0200
Valdas Jankūnas <zmuogs at gmail.com> wrote:
> 2013.11.11 13:14, Mattias Gaertner rašė:
> > 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.
> It not shrinks when ChildSizing is being used (see screenshot).
Your bevel has no content. Then the default size is used.
Drop something into it.
More information about the Lazarus