Hey guys,
I'm having an issue with the bounding box on a grouped shape. The grouped shape is basically a pipe made out of a rectangle with two "end caps" on either side. The end caps are locked so that they do not stretch when the overall grouped shape is lengthened. The idea I'm going for is that I can lengthen the pipe without distorting the end caps. However, when I lengthen the pipe, the shape does not lengthen along with the bounding box. This results in a bounding box that is much longer (or shorter) than the visual shape. Is there a way to prevent this? Perhaps a way to make sure the end caps are always at the outer edge of the bounding box? Or maybe an entirely different approach?
I've attached a couple of images that help illustrate what I'm describing.
I believe this happens because the bounding box expands as if the end caps are being distorted. However, since the end caps' dimensions are locked, they are not expanding at the same rate of the bounding box.
Thanks so much for your time.

