On Mi, 2015-01-07 at 23:58 -0500, Dmitry Boyarintsev wrote:
> On Wed, Jan 7, 2015 at 11:45 PM, Marc Santhoff <[email protected]> wrote:
> 
> > In principle that approch is working, but seemingly using the align
> > property and anchors together produces unexpected results - at least for
> > me.
> >
> 
> In this simple design you don't need to use anchors at all.
> Alignment does it for you.
> If you need a margin from the sides of the form you can use border property
> of each panel.

Well, the question only touches a small detail of a bigger gui. But
Thinking about your answer I learned to use align'ment for simple
relations of only two components in one container and use anchors only
at inner levels where more complex relations between three or more
components have to fit in one container (TPanel). Sounds useful and more
simple, I'll go that way.

Thanks!

-- 
Marc Santhoff <[email protected]>


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to