Book a Demo

Author Topic: auto resize compartments in shape scripts  (Read 3061 times)

Ralf

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
auto resize compartments in shape scripts
« on: September 22, 2009, 05:01:14 pm »
Is it possible to generate a shape script with a name compartment which is able to expand to a second line if the name gets too long?

The goal is to create a shape like the class shape with a line between the name and the rest of the element.

I only managed to place a line at - let's say - 20% of the shape which will be ok if the name only covers one line. But if it expands to the second line, I can't move the line to - let's say - 40%.

I even tried to use the border layout and hoped that the "N" compartment will be automatically resized. No success.