2013.11.10 23:03, Avishai rašė:
You can also use Constraints to set height/width of children with
ChildSizing.

 Forgot about that, thanks.

One problem left: when you add TBevel as child and if you want it BorderSpacing.CellAlignVertical=ccaFill (to make separator), you get fixed height (always 50). To fix this I must use custom TBevel with overridden "CalculatePreferredSize" with "PreferredHeight := 1;" in it.

 Is there more elegant way?

--
  Valdas Jankūnas

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

Reply via email to