Recent

Author Topic: Horizontal/vertical space  (Read 1964 times)

gii

  • New member
  • *
  • Posts: 15
Horizontal/vertical space
« 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.

Blaazen

  • Hero Member
  • *****
  • Posts: 2782
  • POKE 54296,15
    • Eye-Candy Controls
Re: Horizontal/vertical space
« Reply #1 on: October 23, 2018, 12:41:18 am »
Lazarus has different sizing mechanism than Delphi. Use property Anchors and Anchor Editor dialog.
Lazarus 2.1.0 r59757M FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.11.2, Plasma 5.14.2
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

gii

  • New member
  • *
  • Posts: 15
Re: Horizontal/vertical space
« Reply #2 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", and really, the features of LCL are much more advanced and practical to use.

Thanks.