79454645

Date: 2025-02-20 13:24:49
Score: 3.5
Natty:
Report link

the solution from @zealous-system is great, but sometimes the text(1 or 2 letters) moves to the second line because of rounding, so instead of using constraints.maxWidth, you can create a variable maxWidth = constraints.maxWidth - 10

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @zealous-system
  • Single line (0.5):
  • Low reputation (1):
Posted by: Squonky