I don't *think* that will work.  TBevel is TGraphicControl so it's not a
"container".


On Mon, Nov 11, 2013 at 2:25 PM, Mattias Gaertner <nc-gaert...@netcologne.de
> wrote:

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



-- 
Shalom,
Avishai
avishai.g...@gmail.com
אבישי גוֹר
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to