[Lazarus] Align property confusion
Graeme Geldenhuys
graemeg.lists at gmail.com
Mon Oct 4 15:13:23 CEST 2010
On 4 October 2010 15:03, Dimitri Smits wrote:
>
> I think it rather stems from the Windows world rather than Borland's bright minds. AFAIK it always was: horizontal takes precedence on vertical. So Top/Bottom fills entire width, Left/Right takes the remaining height, Client fill's the rest.
>
I got a reply from Michael van Canneyt in private. He said as far as
he knows it's due to the streaming system used in the VCL. So "order
of creation" is never guaranteed, and can never make assumptions about
that. So a hard-coded top,bottom,left,right,client processing order
was put it place.
What is weird is that neither Delphi, nor Kylix, nor LCL help mentions
this hard-coded order of processing. At least the LCL TAlign help
mentions the possible issue of "order of precedence", but doesn't
actually give the answer or reasoning why it exists.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/
More information about the Lazarus
mailing list