Lazarus

Programming => Packages and Libraries => LazUtils => Topic started by: WickedDum on September 10, 2016, 11:28:41 pm

Title: Wrong category...Auto-alignment of TLabels and TEdits - and anything else
Post by: WickedDum on September 10, 2016, 11:28:41 pm
Just saw this was the wrong category.  I re-wrote it in Beginners.  Sorry.
(I cannot delete this.)

I saw items being dropped in (a TPanel?) and they were auto-aligning.  I created a TPanel but cannot seem to get it working.  Auto-alignment seems a lot easier than trying to get them lined up manually! :D

How do I do that?

Thank you!!
Title: Re: Auto-alignment of TLabels and TEdits - and anything else
Post by: lainz on September 10, 2016, 11:32:34 pm
You need to set ChildSizing
http://wiki.freepascal.org/Autosize_/_Layout#Layout

Give us an Idea on how your form looks, maybe a screenshot, and how you want them aligned, else that is the best answer I can give to you.
TinyPortal © 2005-2018