Lazarus

Using the Lazarus IDE => Designer => Topic started by: gii on October 23, 2018, 12:31:34 am

Title: Horizontal/vertical space
Post by: gii on October 23, 2018, 12:31:34 am
Is there any feature similar to CnPack, where I can select multiple components and set the vertical / horizontal space between the controls?

I know the justify feature, however I'd like to use a custom value.

For those who do not know this feature in CnPack, I have attached images.
Title: Re: Horizontal/vertical space
Post by: Blaazen on October 23, 2018, 12:41:18 am
Lazarus has different sizing mechanism than Delphi. Use property Anchors and Anchor Editor dialog.
Title: Re: Horizontal/vertical space
Post by: gii on October 24, 2018, 12:31:36 am
Lazarus has different sizing mechanism than Delphi. Use property Anchors and Anchor Editor dialog.

I read about the properties "ChildSizing" and "BorderSpacing" (http://wiki.lazarus.freepascal.org/Autosize_/_Layout), and really, the features of LCL are much more advanced and practical to use.

Thanks.
TinyPortal © 2005-2018