I always specify the control. Please do that yourself and see what happens...
maybe your parent control isn't what you think it is ?
or am I doing something wrong or if we explicitly indicate the anchor component (for example, the form) and the left and right anchors, then the anchor goes initially to the edges of the form. then we can set the distance to the edge in the anchor editor, right?
but if we made such a setting (indicate not only the presence of the anchor, but also what it is attached to), then we lose the ability (if you set only akLeft / akRight in the OI, without the anchor editor, then we had such an opportunity) to resize and position component on the form just with the mouse, right?
but again - if I do not indicate what to bind to, then this always works correctly for all components except tlabel and then for tlabel it also works correctly if wordwrap = false even if there are anchors.
I’m trying to understand why everything works correctly if there is wordwrap but no anchor or if there is an anchor but no wordwrap, but the combination of “both anchors + wordwrap” gives the wrong behavior but only for tlabel.
what's wrong with tcustomlabel ..