On Mon, 11 Nov 2013 14:18:53 +0200 Valdas Jankūnas <[email protected]> wrote:
> 2013.11.11 13:14, Mattias Gaertner rašė: > > On Mon, 11 Nov 2013 12:51:14 +0200 > > Valdas Jankūnas <[email protected]> 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. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
