Recent

Author Topic: [Solved] TCheckGroup Child Alignment  (Read 579 times)

TheLastCayen

  • Jr. Member
  • **
  • Posts: 83
[Solved] TCheckGroup Child Alignment
« on: December 14, 2024, 04:05:09 am »
Hi,

I am using
Lazarus 3.4
FPC 3.2.2
Linux Mint XFCE 22

I am populating a TCheckGroup with dynamic TCheckBox.
Is there a way to align the TCheckBox at the top of my TCheckGroup? Currently, they are aligned in the middle.

I attached 2 picture
pic1.png is the current setting
pic2.png is what I am expecting

I tried to play with the CheckGroup1.ChildSizing, but nothing seems to have any impact on the child alignment.

Thank you
« Last Edit: December 14, 2024, 07:43:02 pm by TheLastCayen »

dsiders

  • Hero Member
  • *****
  • Posts: 1324
Re: TCheckGroup Child Alignment
« Reply #1 on: December 14, 2024, 05:34:14 am »
If you turn off AutoFill, it will align in exactly the way you want.

Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

TheLastCayen

  • Jr. Member
  • **
  • Posts: 83
Re: [Solved] TCheckGroup Child Alignment
« Reply #2 on: December 14, 2024, 07:43:50 pm »
Thank you dsiders:) This is exactly what I was looking for

 

TinyPortal © 2005-2018