See if you can create something similar in the widget and set the text blocks:
And from your player you’d call the player’s widget like so and feed it the struct:
Imagine the above code is in the Player and the Ship is the widget.
So basically, the player object has a widget and tells the widget to update its elements.