fsmMLK/inkscapeDimensions

Arrow length

hansu opened this issue · 6 comments

hansu commented

How do you managed this that the horizontal line is always as long as your text? Or is that only possible if using Latex?

If I do that it looks like this:

Screenshot_2021-04-24_10-44-40
or
Screenshot_2021-04-24_10-45-04

Maybe an option would be to right align the text as it is a common method I think:

Screenshot_2021-04-24_10-45-26

What do you think about that?

Inkscape does not provide any way (that I am aware) of knowing where text elements end. Therefore I don't know how much I have to extend/cut the line below text. However I can do it with latex elements. =S

hansu commented

I mean to let the line length as it is, only adjust the text.
I could imagine set the anchor point to the right and right align the text.

yes, it is possible to do that, but the problem persists because you might still have a shorter (or longer) horizontal line segment under the text.

hansu commented

Yes the user has to adjust the line segment length that it has at least the text length. In this case i would think right align is the better choice.
if the text is longer than the line segment, a left align would look better.
As there are no configuration points in this tab yet, i think we can safely add an option to switch between right and left aligning.

I might just found one very finicky way of getting length information from text elements. I will investigate it ASAP.

hansu commented

Unfortunately this removes the arrow for me:

Peek 2022-08-09 13-16