You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 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.
Describe the bug
A. Text vertical alignment asymmetrical and inconsistent.
To Reproduce
Steps to reproduce the behavior:
Add a text box and add border or background for reference
Add some text. By default the text:
is set to formatted and wordwrap
line-height is default 120%
there are no text margin+padding settings present in the text panel when line-height is not changed. changing once the line height (even going back to 120%) makes visible the margin+padding properties in the panel. It seems like the margin-top/bottom is default 12px. How could I set these to 0px always?
Set the vertical alignment to top or bottom:
text doesn't align properly top/bottom. Some default margins are rendered by default.
even with all margins, padding and spacing set 0px , alignment is not symmetrical top vs bottom
Set line-height below 100%:
(this one appears to be related to a styling property visible only showing html code. I have to check again which property was producing this bug. is related to different html elements having set the line-height set)
different objects of the same shape behave differently.
refocus/select the text again. line-height always shows 100% but the line height is definitely not 100%
In some cases, adjusting the font size changes the line-height automatically.
Adjusting the font size for the formatted text in a shape doesn't update the font-size in the text panel when just focused on the shape. The opposite does work.
Copying the text from a shape to another shape text, removes the <p> element:
(here I use/paste the whole html code of the text element as rendered by drawio)
@davidjgraph I will try to redact it to be more "friendly" but please feel free to highlight where you consider I stepped over.
noREAVER
changed the title
Text blocks and text labels in general, positioning and styling is inconsistent and buggy
Text (blocks and labels) positioning and styling issues
Nov 12, 2024
Describe the bug
A. Text vertical alignment asymmetrical and inconsistent.
To Reproduce
Steps to reproduce the behavior:
(this one appears to be related to a styling property visible only showing html code. I have to check again which property was producing this bug. is related to different html elements having set the line-height set)
<p>
element:(here I use/paste the whole html code of the text element as rendered by drawio)
is getting copied as:
Screenshots
I should make a full video about probably. It's a lot to show/uncover.
Video
https://1drv.ms/v/s!ApHOgTjX-FPhg7pTIR7tekMC7y5KQw?e=Odtlb4
The text was updated successfully, but these errors were encountered: