Recent

Author Topic: How to speed up autosize?  (Read 489 times)

stem

  • Jr. Member
  • **
  • Posts: 67
How to speed up autosize?
« on: February 04, 2020, 11:07:12 pm »
Hi,

I have applied many of the rules of https://wiki.lazarus.freepascal.org/Autosize_/_Layout. My application now looks great with different operating systems (Windows 10, Linux Mint Xfce), with different DPI values and adapts to translated po files.

My problem: I have a resizable form with a very complex layout. Resizing the form at runtime is noticeably slower than once when the rules were not applied, especially on Windows.

Is there a way to speed up the calculation of the LCL layout? Is it useful, for example, to set MinHeight and MinWidth (constraints) for each component?

Thank you!

stem