Closed minrows closed 1 year ago
Tested it and it works to some degree. Not sure how the behavior should be for more than 3 lines?
If not more than 3 lines, maybe the input chars should be limited to avaid the problem?
Otherwise, it breaks again with 4 lines see screenshots.
Ahh, thanks for the feedback @4ludwig4. This PR simply introduces the linebreak of the text which was not happening while exporting before. Regarding the overflow of the text vertically, the user has to manually increase the size of the element (which is the case for canvas as well).
Ah k didn't know that you can resize the boxes sry! Then the line breaks seem to be working now. Also, there is already a limit on the text boxes :wink:
Checklist
Motivation and Context
This PR fixes the issue with overflow of text in color description while exporting the diagrams. Issue Number: https://github.com/ls1intum/Apollon/issues/267
Steps for Testing
Screenshots
Before
After
PS: Changes released in beta version: 2.12.5-beta.4