title: Maintain aspect ratio and relative position in a Visio group
body: <p>I'm currently creating a custom container shape in Visio 2010 but having some trouble getting the correct resizing behavior.
  My container consists of a main rectangle and a small triangular shape at the top right (see image). Both these shape are grouped.</p>
  
  <p><img src="https://i.stack.imgur.com/Z2SrY.png" alt="Custom container consisting of rectangle and triangle"></p>
  
  <p>When resizing this group, I want the rectangle to resize, but the triangle should keep its original size ans aspect ratio and remain "attached" to the side of the rectangle.</p>
  
  <p>When I set the triangle's resize behavior to "Use group setting" (default), it gets deformed when resizing:</p>
  
  <p><img src="https://i.stack.imgur.com/lPOD3.png" alt="triangle deformed"></p>
  
  <p>When I set the triangle's resize behavior to "Reposition only", it does not maintain attached to the rectangle:</p>
  
  <p><img src="https://i.stack.imgur.com/R7i38.png" alt="triangle detached"></p>
  
  <p>Is there any way I can get the desired behavior?</p>