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

William Oliveira Ferreira bdexterholland at gmail.com
Sun Nov 10 17:24:42 CET 2013


I think you could also use anchors
Em 09/11/2013 19:46, "Valdas Jankūnas" <zmuogs at gmail.com> escreveu:

> 2013.11.09 22:52, Avishai rašė:
>
>> OK.  I tried putting 2 Labels Align:= alLeft.  For both Labels I set
>> BorderSpacing Left and Right := 10 and Layout := tlCenter.  Then I set
>> Panel.AutoSize := True.  It looks like it does what you want.
>>
>
> It works! Even with autosized Buttons or Edits.
>
> Thanks!
>
>
> --
>   Valdas Jankūnas
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131110/65673db0/attachment-0003.html>


More information about the Lazarus mailing list