Inventory with sized items

I’m making a survival game like rust, but with sized items ( bandage 1x1 slot ; gun 5x2 slots ) I tried to make it using ue inventory template, but i cant do this myself, please help.

Thanks