❔ how to give the Label give better SetLeft() position
The labels get random position, but the 6 Label sometimes is on the edge, what it should not be.
The Following code:
My canvas is 1200 long.
2 Replies
you could use a clamp function on the posT and posL vars and pass it a padding
which would ensure the labels dont move lower than or over the padding
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.