Basic Inventory System Help

So i’m working on an inventory system for my game, well a system that stores key items, at the moment i got a vertical box that will hold all the items in a list, and i’ve made a basic “slot” widget that has some text which is currently inside of the vertical box. How can i add these widgets to the vertical box, and set the text to the item name.

I’m thinking i could use an event with an input for text then use that input the set the text, but i’m not 100% sure how to edit the widget text when adding it into a vertical box. Does anyone know how to accomplish all of this?

EDIT: nvm i found the solution