On 14.06.2023 21:52, Vojtěch Čihák via lazarus wrote:

Hi,


I have one more question to DoAutoAdjustLayout();.

I use TECSpinBtns (TGraphicControl) in two variants:

The first as a stand-alone component and the second as a part of TECSpinEdit (where TEdit is Owner and TECSpinBtns is subcomponent anchored to it).

When I put them on the form, DoAutoAdjustLayout() is triggered only in the first case.

Is it that Owner is responsible to call DoAutoAdjustLayout() of owned controls?

This is strange. All controls should be adjusted regardless of the Owner. TLabeledEdit works fine (edit that has an attached label).

Ondrej
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to