Issue 40580 - better placement for text on connector
Summary: better placement for text on connector
Status: CLOSED DUPLICATE of issue 35752
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m69
Hardware: All All
: P4 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: requirements
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 13:20 UTC by richlv
Modified: 2010-12-20 18:32 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
testcase (7.60 KB, application/vnd.sun.xml.draw)
2005-01-13 13:20 UTC, richlv
no flags Details
how it should look like (8.20 KB, image/png)
2005-01-13 13:21 UTC, richlv
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description richlv 2005-01-13 13:20:32 UTC
see attached document. try adding text to all three connectors. text is placed 
in especially strange location for upper right connector, but others are not 
much better.

so, placement for text on connectors should be better (and probably also 
customizeable).

1. if possible, it should stick to longest horizontal section of the connector;
2. if there are no long enough horizontal section, it should stick to longest 
available vertical section;
3. on both cases it should try to be either up/down (or left/right) of the 
connector so that smallest possible amount of other objects is covered;
(what should be done if there is not enough room either on horizontal or 
vertical sections ? maybe choose longest available and overflow ?)
4. there should be an ability to drag this text to any other section and side of 
the connector line (even to those where it sort of doesn't fit - in this case it 
overflows that section);
5. some limit for overflows probably ? what does it do then ? font reduction 
might be one option, but line breaking probably is better.
6. there should be an ability to define distance for text to line, overflow at 
which other methods are applied, choice between line breaking and font 
reduction, preference for left/right and up/down placement of the text.

ps curent option "adjust to contour" doesn't work; also controls in 
"dimensioning" tab don't seem to work to achieve this.
Comment 1 richlv 2005-01-13 13:20:59 UTC
Created attachment 21456 [details]
testcase
Comment 2 richlv 2005-01-13 13:21:32 UTC
Created attachment 21457 [details]
how it should look like
Comment 3 wolframgarten 2005-01-13 13:23:37 UTC
Reassigned.
Comment 4 Regina Henschel 2006-08-29 21:42:43 UTC
For some of your requests there is a workaround. You can apply the old fontwork
property "rotate" to the connector. Then the text will follow the line direction
and you can set a distance from line to text in the fontwork dialog. (In 2.0 you
must customize your toolbar/menu to get the old fontwork.)
Comment 5 Regina Henschel 2010-12-20 18:29:13 UTC
Better position for connector texts are already tracked in issue 35752.

*** This issue has been marked as a duplicate of 35752 ***
Comment 6 Regina Henschel 2010-12-20 18:32:36 UTC
Closing, duplicate