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

Avishai avishai.gore at gmail.com
Sat Nov 9 22:14:23 CET 2013


Glad I could help :)


On Sat, Nov 9, 2013 at 11:13 PM, Valdas Jankūnas <zmuogs at gmail.com> wrote:

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



-- 
Shalom,
Avishai
avishai.gore at gmail.com
אבישי גוֹר
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131109/1955a4b1/attachment-0003.html>


More information about the Lazarus mailing list