Group not resizing when objects are moved
Posted: Mon Jul 13, 2015 11:55 pm
I've got a group of a couple dozen objects, and when I move any of the objects, they disappear as they pass the boundary of the group.
The group resizes automatically when a handler sets all the images back to their starting locations, the group shrinks to be just big enough to fit the objects. But when another handler moves them horizontally, they clip off at the boundary as the group doesn't resize.
I've checked the groups properties, fiddled with setting lockLocation to false in the script, read through the api, searched the forums, etc etc.
I can set the size of the group, then set lockLocation to true to hold it at a big enough size to show the moving shapes, but this makes a mess of things elsewhere when the same objects are used on another card in a different place. If nothing else I can go through card by card, and set the size of the group and lock it down, but this isn't very elegant, and the lockLocation entry in the dictionary pretty clearly states "If the lockLocation of a group is false, the group is automatically resized when the objects in it are moved, resized, hidden, or shown." So why can I not get it to actually work as described? What would interfere with this functionality?
The group resizes automatically when a handler sets all the images back to their starting locations, the group shrinks to be just big enough to fit the objects. But when another handler moves them horizontally, they clip off at the boundary as the group doesn't resize.
I've checked the groups properties, fiddled with setting lockLocation to false in the script, read through the api, searched the forums, etc etc.
I can set the size of the group, then set lockLocation to true to hold it at a big enough size to show the moving shapes, but this makes a mess of things elsewhere when the same objects are used on another card in a different place. If nothing else I can go through card by card, and set the size of the group and lock it down, but this isn't very elegant, and the lockLocation entry in the dictionary pretty clearly states "If the lockLocation of a group is false, the group is automatically resized when the objects in it are moved, resized, hidden, or shown." So why can I not get it to actually work as described? What would interfere with this functionality?