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

Valdas Jankūnas zmuogs at gmail.com
Mon Nov 11 13:18:53 CET 2013


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).

-- 
   Valdas Jankūnas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nuotrauka4.jpg
Type: image/jpeg
Size: 63796 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131111/a40f250c/attachment-0003.jpg>


More information about the Lazarus mailing list