<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">It maybe help in TCoolBar but I guess it will be even more useful for TControlBar. </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I already edited the wiki (Merge requests / Submitted by others).</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Vojtěch </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: Mattias Gaertner <nc-gaertnma@netcologne.de><br />
> Komu: <lazarus@lists.lazarus.freepascal.org><br />
> Datum: 22.05.2014 14:17<br />
> Předmět: Re: [Lazarus] TCoolBar improvements<br />
></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">On Thu, 22 May 2014 12:36:20 +0200<br />
Vojtěch Čihák <vojtech.cihak@atlas.cz> wrote:<br />
<br />
> I've got one objection to AlignControls() method. It's implementation in LCL differs from Delphi.<br />
> While in Delphi it comes with parameter AControl: TControl - currently aligned control, in LCL<br />
> is this parameter always nil but method is triggered many times (as many controls container has).<br />
> Therefore I am careful with using it; it can easily lead to redundant calculations.<br />
<br />
Hint: When changing multiple properties use Disable/EnableAutoSizing:<br />
<br />
<a href="http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Reduce_overhead_with_DisableAutoSizing.2C_EnableAutoSizing">http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Reduce_overhead_with_DisableAutoSizing.2C_EnableAutoSizing</a><br />
<br />
Mattias<br />
<br />
--<br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus.freepascal.org<br />
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></p>