Horizontaly creating widgets inside another widget

I’ve been following a tutorial about inventory, and i came to the point when i have blueprint widget for inventory, and another widgets for items, they are added vertically, one under another, like in attachment.
How to change it? I would like them to be created horizontaly.

Ok, i just had to change the main box to horizontal box.