How can I create custom shapes which consists of other shapes? For eg. we are trying to create the following, however the ellipse border is overlapping the text.
Ellipse in rectangle
Ideally, this is what it should like indent preformatted text by 4 spaces
Also, I really like how out of the box shapes auto size based on the text when the panel is auto. It doesn’t seems to work for custom shapes. Is there a way we can do that with custom named shapes?
All of the predefined named figures are implemented using Shape.defineFigureGenerator, so if you are using a Shape as the main element of an “Auto” Panel, it will be sized to fit around the contents (such as some text).
You can set the Geometry.spot1 and/or Geometry.spot2 properties to control where the “Auto” Panel positions the content relative to the Shape figure.