✅ Solved: How to capture Text width?

I've created the text layer, but the text hasn't been converted into a text area — it's automatically adjusting its width based on the content I type. I want to bind it to the view model.number property in the view.