achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

sequence - all in one message line text extents not used properly #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following sequence-all-in-one snippet should grow properly:

title: extents
A~a|B~b
a->b:too long text should increase distance between A and B as well as increase 
"block" size

I would expect the distance between A and B to grow to show the entire text 
between A and B. Right now it grows the box at the end, but not enough to show 
the entire text

Original issue reported on code.google.com by tomas.l....@gmail.com on 25 Feb 2013 at 9:34

GoogleCodeExporter commented 9 years ago
As this is a much requested issue, I've tried to fix it as best as I can

Unfortunately the All in one diagrams are very old code and not really 
maintainable (methods with several 100 lines, fields which change constantly 
during painting etc.)

My change calculates the space which the text needs and sets this as the 
distance between the lines. The distance will still be the same between every 
line, so it may need more space than before, but text should not overlap with 
lines anymore

Attached to this issue are some example diagrams

fixed in r1322, r1323, r1324 and v13.2

Original comment by AFDiaX on 7 Feb 2015 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago
fixed the previous pngs

Original comment by AFDiaX on 7 Feb 2015 at 10:53

Attachments: