Book a Demo

Author Topic: Label backgrounds - consistency please  (Read 8610 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Label backgrounds - consistency please
« on: May 16, 2016, 09:50:20 am »
For a while, it's bugged me that some relationship labels have a background which makes the text in the label clearer when it overlays something else, whereas some others (I suspect Associations mainly) don't.  The differences can most easily be seen if you use the new Background Tile feature as the inconsistency easily shows up in that case.

Concistency, konsistency, consistensy! TMUffe - after Paolo

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

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Label backgrounds - consistency please
« Reply #1 on: May 16, 2016, 01:03:41 pm »
The boundaries of the labels really p*** me off.  They look fine on your diagram and then when you save them them as an image or to the clipboard for use in a document you find an opaque background has materialized and is clipping your shapes.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Label backgrounds - consistency please
« Reply #2 on: May 16, 2016, 02:37:57 pm »
The boundaries of the labels really p*** me off.  They look fine on your diagram and then when you save them them as an image or to the clipboard for use in a document you find an opaque background has materialized and is clipping your shapes.

See Tools | Options > Diagram.  There are separate options to disable opaque diagram labels for "Screen", "Printing" and "Clipboard and Files".

Paolo - have you changed any of these options?  Can you confirm which specific types of connector do not appear to be obeying this option?  Do these connectors perhaps have any sort of stereotype (and potentially shape script) applied?
« Last Edit: May 16, 2016, 02:49:43 pm by Aaron B »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Label backgrounds - consistency please
« Reply #3 on: May 16, 2016, 04:06:06 pm »
The boundaries of the labels really p*** me off.  They look fine on your diagram and then when you save them them as an image or to the clipboard for use in a document you find an opaque background has materialized and is clipping your shapes.

See Tools | Options > Diagram.  There are separate options to disable opaque diagram labels for "Screen", "Printing" and "Clipboard and Files".

Paolo - have you changed any of these options?  Can you confirm which specific types of connector do not appear to be obeying this option?  Do these connectors perhaps have any sort of stereotype (and potentially shape script) applied?
Hi Simon Aaron,

No, I haven't changed them, they're all on...

Removing the stereotype (and therefore the associated shapescript) restores the Association labels background.   The shape script defines the following:
shape middletoplabel
{   //overwrite label with name only
   print("#name#");
}

Removing this definition - restores the background.  I don't think it should have any relevance - given there is no API call to control the label background otherwise.

Paolo
« Last Edit: May 17, 2016, 09:40:28 am by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Label backgrounds - consistency please
« Reply #4 on: May 17, 2016, 09:00:25 am »
That's Aaron with a double 'A', not Simon with a single 'S'.
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Label backgrounds - consistency please
« Reply #5 on: May 17, 2016, 09:39:47 am »
That's Aaron with a double 'A', not Simon with a single 'S'.
I'd just replied to two emails from Simon and switched windows...  "Priming"?

My Bad...

Sorry Aaron.  :-[

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