UMG layout rules ?

I got basic layout done (will have to probably tweak it as I move along).

Now I am thinking of how to pass item data from my inventory to the widget. As I add item into the inventory (2 arrays of structs - one for unique items, one for stackable/“currency” items), I can just pass reference to the widget. I am not quite sure yet how to update text on widgets for stackable items (like, instead of adding yet another widget to my vertical box as I add another item into inventory, I’d only update text on the widget for specific item if it already exists in my inventory).

I already have code that lists inventory (I needed to check if it’s really working, so when I press “I”, Print String prints items and their respective amount on the screen). I am just not sure how to relate that to UMG :confused:

I’d appreciate your advice.

Thanks

P.S. Thinking more about this and maybe I should just pass entire inventory array into UMG and re-fill vertical box every time item is added to/taken from the inventory ?