Fixes bug in issue #402: Cardinality labels not properly redrawn when an ER diagram...
Fixes bug in issue #402 (closed): Cardinality labels not properly redrawn when an ER diagram relationship is rotated
- Previous code didn't use the cardinality widths for calculating the bounding box when the Relationship was rotated
- This fix uses the cardinalities' widths to properly calculate the bounding box
- In addition it adds extra margins to avoid glitches due to imprecise text width