Book a Demo

Author Topic: Can we adjust the name area in Rectangular mode?  (Read 4093 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Can we adjust the name area in Rectangular mode?
« on: May 10, 2017, 05:01:44 pm »
I can guess the answer to this, but I'll ask anyway,

In the non-rectangular mode, you can define the area to be used for the vertex name using various spacer sub-shapes in a shape script.  However, these don't work in rectangular mode.  We have several widgets which expose vertex properties onto the vertex shape via shapescripting.  We need to expose these widgets in both views, but since some of them impinge on the vertex name area, it can get quite messy.

Is there any way to affect the sizing of the name area (analogously to the non-rectangular mode)?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Can we adjust the name area in Rectangular mode?
« Reply #1 on: May 11, 2017, 02:31:49 pm »
Hi Paolo,

I tried it with Actions in an empty *.eap file. Two new Actions, one rectangle and then:
SELECT ObjectStyle from t_diagramobjects

The difference is:
- ImageID=0;UCRect=1;

Hope it helps.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can we adjust the name area in Rectangular mode?
« Reply #2 on: May 11, 2017, 02:51:40 pm »
Hi Paolo,

I tried it with Actions in an empty *.eap file. Two new Actions, one rectangle and then:
SELECT ObjectStyle from t_diagramobjects

The difference is:
- ImageID=0;UCRect=1;

Hope it helps.

Kind regards,

Helmut
Sorry, Helmut,

that's not the answer to the question I asked. That answer says how to set rectangular mode, even if the <context menu> doesn't let you.

Once I already have set rectangular mode, I want to know what control I have over where EA places the name of the vertex.  For example, I already have technology that figures out how long the name would look like on a single line and adjusts the width accordingly (should I want it).  I'm asking can I tell EA to ONLY use some percentage of the width or leave a number of pixels around the name etc.

Is that clearer?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!