Closed FallenAngel97 closed 3 years ago
Thank you very much @FallenAngel97 It does work.
Merged.
Would you mind giving a star of the repo or giving a like to support this project?
Yeah, sure.
Actually, can you move a line 767
_textSpanWidth = math.max(tp.width, widget.minWidth ?? 0);
just before the if
block? That way it won't be overwitten by original textpainter.
@FallenAngel97 Thanks, I will take a look later today.
I have experienced the same issue mentioned here: https://github.com/lzhuor/auto_size_text_field/issues/2 This is pretty simple approach, but this works out (check the gif)
Closes #2