[Lazarus] Centered elements in autosize enabled panel. Possible?

Valdas Jankūnas zmuogs at gmail.com
Sat Nov 9 21:39:54 CET 2013


Hello,

I want to create this layout:
- form has a Panel;
- "Autosize" of Panel is True;
- Panel has Controls with various heights;
- every Control in Panel must be centered vertically.

I tried this (trough Anchor editor):
- Control2 centered to Control1;
- Control1 centered to Panel.
But then Panel shrinks to Height=2 (circular align happens?).

Is it possible to create mentioned layout (preferably not through code)?


Sorry for bad English.

-- 
   Valdas Jankūnas




More information about the Lazarus mailing list