Book a Demo

Author Topic: Line break in EA  object name labels  (Read 6258 times)

enztp

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Line break in EA  object name labels
« on: April 18, 2005, 11:50:37 am »
Hi !

How i can make a EA object name label stay in 2 lines ?

I have some big Object names .

EX :

"this is a reeeeeeeaaaally big screen name !!!!!"


And i need something like this :


"this is a reeeeeeeeaaaally
big screen name"


Can anyone help me with this "line break" problem ?


Thanks
                    Enzo





 ???

thomaskilian

  • Guest
Re: Line break in EA  object name labels
« Reply #1 on: April 18, 2005, 12:56:25 pm »
I also would like to know the answer to that question ::)

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Line break in EA  object name labels
« Reply #2 on: April 18, 2005, 07:19:56 pm »
Hi Guys,

The only way that I've been able to insert a carrige return is by inserting the \013 sequence into the inline class name editor.

Unfortunately this character is not accepted by the text field control - preventing lf/cr usage on the properties page.

To invoke the inline editor:

-Click the diagram element to select it
-Click the class name
-Click the class name again

To enter a CR in Windows:

-hold the Alt key
-enter the key sequence 013
-release Alt

HTH,

Ash :)









« Last Edit: April 18, 2005, 07:27:54 pm by AshK »
The Sparx Team
[email protected]

thomaskilian

  • Guest
Re: Line break in EA  object name labels
« Reply #3 on: April 19, 2005, 12:59:18 am »
Strange (and yes - I remeber that way of creating special characters  :P). Would it be possible to size the frame like you can do it for notes?

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Line break in EA  object name labels
« Reply #4 on: April 19, 2005, 04:55:24 pm »
Hi Thomas,

Currently we can resize an elements dimensions - as long as it doesn't cause it's contents to be clipped... but I have a feeling this isn't what you are referring to.

Would you kindly clarify :)
The Sparx Team
[email protected]

thomaskilian

  • Guest
Re: Line break in EA  object name labels
« Reply #5 on: April 20, 2005, 02:32:45 am »
Sorry for being unprecise. If the textframe for the object/class name would be somehow scaleable... Unfortunately you can only strech the width (or shrink to a minimum which is greate than the text size plus X). The horizontal line below can't be moved. If it was moveable you would have some kind of frame to define the text window.

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Line break in EA  object name labels
« Reply #6 on: April 20, 2005, 02:49:38 am »
Text width is the most sensitive dimension, too, since without some automatic wrapping to a ruler, it increases linearly with number of characters.

Being able to specify either a size-based or character-count based wrap mode would ensure that horizontal dimensions were kept under control. Or maybe even a 'virtual' Note - type bounding box, which became visible as a dotted line only when editing.

Similar comments apply to any text attached to connectors...

This then clearly places the functionality into the display attributes of the object, rather than having to customise the text itself.
« Last Edit: April 20, 2005, 02:50:42 am by mikewhit »

alexander

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Line break in EA  object name labels
« Reply #7 on: April 20, 2005, 01:08:36 pm »
speaking of which... are you going to (in some point) introduce some formated text into objects?

I don't know if it goes against UML specification but i think it could be a huge leap forward for the documentation.

At least in the Notes section of objects to be able to import RTF will be very desirable.

georgep

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Line break in EA  object name labels
« Reply #8 on: April 20, 2005, 01:47:03 pm »
Quote
speaking of which... are you going to (in some point) introduce some formated text into objects?

I don't know if it goes against UML specification but i think it could be a huge leap forward for the documentation.

At least in the Notes section of objects to be able to import RTF will be very desirable.


This would be highly desirable IMO.  I hate having to edit the RTFs procuded by EA in order to get the right look and feel.

George


AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Line break in EA  object name labels
« Reply #9 on: April 20, 2005, 05:07:33 pm »
Thanks for clarifying Thomas,  I understand now.

I hear that there is a need for more control over the dimension and behaviour of the element lables.   I can make a record as requested enhancement and share it with the team.  

With regards to the RTF notes - I am told that this feature is a current work in progress.  No ETA is available at this stage however - but it's certainly on the way!

Ash

The Sparx Team
[email protected]

thomaskilian

  • Guest
Re: Line break in EA  object name labels
« Reply #10 on: April 21, 2005, 01:20:26 am »
Quote
- but it's certainly on the way!

Ash


I'm sure about that :) Thanks