buttons move from group rect to the twilight zone

Bill Marriott wjm at wjm.org
Sun Mar 18 13:30:08 EDT 2007


Hi Erik,

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:

http://quality.runrev.com/qacenter/show_bug.cgi?id=4549

Please feel free to add comments on it. 






More information about the use-livecode mailing list