[Lazarus] New autosize sucks

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Apr 23 20:06:29 CEST 2010


Mattias Gaertner schrieb:

>> Maybe I'm wrong (didn't look into), but seem that delphi/kylix triggers 
>> form.OnResize when everything is resized inside form (children), or it 
>> triggers twice : at form resize, and then after all children resized.
> 
> Don't forget that Delphi has a simple top down autosize algorithm. It
> does not even support a theme independent groupbox with buttons.

Why requires theme support to break that stable processing?

I'd accept a two-pass resize, with the determination of the min/max 
sizes in the first pass, and the distribution of available space in the 
second pass.

How does the new autosize work?

DoDi





More information about the Lazarus mailing list