Recent

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

gii

  • Jr. Member
  • **
  • Posts: 53
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: 3237
  • 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.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
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

  • Jr. Member
  • **
  • Posts: 53
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.

 

TinyPortal © 2005-2018