eclipse-sirius / sirius-web

Sirius Web: open-source low-code platform to define custom web applications supporting your specific visual languages
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
82 stars 53 forks source link

Wrapped labels can sometimes "spill" outside of their container #4158

Open pcdavid opened 3 weeks ago

pcdavid commented 3 weeks ago

In the video below:

https://github.com/user-attachments/assets/ad01b699-d182-4575-9ec2-cbad813fb8aa

For some reason the bug only occurs if their is a border node visible on the container. Hiding a border node or deleting the corresponding semantic element immediatly resizes the container vertically to include all the label.

pcdavid commented 3 weeks ago

Another scenario (the label is still configured as "Wrap" but here it is small enough not to actually wrap; I'm not sure it's relevant):

https://github.com/user-attachments/assets/da809165-e098-4e61-a0ef-1872f0abe405