jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
41.28k stars 7.65k forks source link

Text Shape: Formatting: bullet point spacing makes it hard to use when trying to stay within certain boundaries #3090

Closed carlos-segundo closed 1 year ago

carlos-segundo commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I create many diagrams and add many text shapes with explanations or simple lists next to a rectangle shape. Now as soon as I start using bullet point the text within the text shape border is so far off that I have to resort to modifying the spacing global -16, left -12 but that works only for the first level of bullet points. As soon as I need a sub-level that one is again far off and I seem to be not able to adjust that.

Describe the solution you'd like A clear and concise description of what you want to happen.

It would be perfect like in other programs to have the text autoadjusting to the text box including the spacing of the bullet point format.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Editing Text in Word, Excel, PowerPoint and inserting screenshot into drawio

Additional context Add any other context or screenshots about the feature request here.

Screenshots attached

Bildschirmfoto 2022-10-08 um 10 55 16

** This is the style of the last text shape. It does not contain the 90% line height settings? text;html=1;strokeColor=default;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;spacingTop=0;spacing=0;spacingLeft=-24;

What is strange is that in Confluence with the same settings I cannot achieve the same. The spacing of the lines in between the levels is wider and I have to adjust maybe even more line heights?

Bildschirmfoto 2022-10-08 um 11 09 49

PS: Could be a bug? I cannot modify line height for the text shape only for each individual line? If I try to do it for the box it always defaults back to 120.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.