Grouping - unexpected behaviour

Graham Samuel livfoss at mac.com
Mon Sep 21 10:53:09 EDT 2009


I suppose others are used to this, but I haven't found anything in the  
RunRev docs:

If I group two images or two graphics (or maybe other objects - I  
haven't tried), where one image is totally within the bounds of the  
other (for example, one is 640 x 480 and the other is 120 x 120 and  
the loc of each is the same), then the group turns out bigger than  
than the larger of the two images! There seems to be an invisible  
margin of 4 pixels all the way around the group, making the group 8  
pixels wider and higher than the original largest image. Is this  
supposed to happen? I have not found a way to avoid it, and so if I  
want to maintain the size of my composite image I will have to crop  
it, which to me is totally unexpected. My group has no border, and  
AFAICS the boundingRect property has no influence on the situation.

Can anyone explain why this is happening?

TIA

Graham



More information about the use-livecode mailing list