drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Text wrapping and auto-sizing doesn't work with flowchart diamonds

Open JCBerger opened this issue 1 year ago • 0 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug I'm not sure if this is an issue with text wrapping or padding or the autosize, the text overflow settings, or something else, but the text wrapping in diamonds does not seem to work. Text either spills out of a diamond, or it adds in what appears to be a lot of padding to fit the text in the diamond.

To Reproduce Steps to reproduce the behavior:

  1. Create a diamond in the flowchart template.
  2. Type or copy & paste text into a diamond.
  3. See problematic behavior.

Expected behavior That the auto-size would make better use of the space in the diamond to create line breaks or wrap text.

Screenshots Screenshot 2024-01-10 at 11 58 55 Screenshot 2024-01-10 at 12 00 44

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 22.1.18

Desktop (please complete the following information):

  • OS: macOS 14.2.1 (23C71)
  • Browser [Safari]
  • Browser Version [Version 17.2.1 (19617.1.17.11.12)]

Smartphone (please complete the following information):

  • Device: [n/a]
  • OS: [n/a]
  • Browser [n/a]
  • Version [n/a]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below: (Not applicable)-

Additional context Add any other context about the problem here.

JCBerger avatar Jan 10 '24 17:01 JCBerger