ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
68 stars 22 forks source link

Bounding boxes of elements with text outside of the element are not calculated correctly #137

Open TobiasPr opened 4 years ago

TobiasPr commented 4 years ago

Describe the bug

Some descriptions of elements are cut off, because they are not taken into account when calculating the bounding box of the element

Elements:

To Reproduce

  1. Create one of the elements
  2. put them on top of the diagram, so that it gets resized
  3. text is cut off

Expected behavior

Correct adaption of diagram size so that the text is visible

Screenshots

image