is there an algorithm that determines at what point the label crosses “Task”. Another problem is that task blocks can be resized and the label only needs to be trimmed when the text extends beyond the block. Currently settled on a solution, but here is a static value for label
After resizing
I would like it to be like this. And the trimming did not take place on a fixed number of characters, but on those that did not fit in the block