buttons move from group rect to the twilight zone
wjm at wjm.org
Sun Mar 18 12:30:08 CDT 2007
We'll need to look into this to determine whether it's an error in the move
command or an error in the documentation for the boundingRect of groups, and
what is the most desireable resolution.
According to the docs, "If a group's boundingRect is empty and its
lockLocation is false, when you drag an object toward the boundary of the
group, the group automatically expands, resizing itself to fit. If the
lockLocation is true, the object is clipped to the group's rectangle."
This happens as described when setting the location of a control; but not
when an object's position is adjusted with the move command.
You can work around this behavior by setting the rect of the group either
prior to or just after the move, depending on the effect desired.
I've filed a report in the Quality Control Center on your behalf:
Please feel free to add comments on it.
More information about the use-livecode