@ -30,7 +30,7 @@ void Menu::InitializeInventoryWindow(){
//We don't have to actually populate the inventory list because now when an item gets added, it will automatically add the correct component in for us.
//We don't have to actually populate the inventory list because now when an item gets added, it will automatically add the correct component in for us.
MenuLabel * itemNameLabel = new MenuLabel { INVENTORY , geom2d : : rect < float > ( vf2d { 2 , float ( initialInvHeight * totalSpacing - 4 ) } , windowSize ) , " " , 1 , false , true } ;
MenuLabel * itemNameLabel = new MenuLabel { INVENTORY , geom2d : : rect < float > ( vf2d { 2 , float ( initialInvHeight * totalSpacing + itemSpacing - 16 ) } , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , false , true } ;
inventoryWindow - > AddComponent ( " itemName " , itemNameLabel ) ;
inventoryWindow - > AddComponent ( " itemName " , itemNameLabel ) ;
MenuLabel * itemDescriptionLabel = new MenuLabel { INVENTORY , geom2d : : rect < float > ( vf2d { 2 , float ( initialInvHeight * totalSpacing + itemSpacing ) } , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , true , true } ;
MenuLabel * itemDescriptionLabel = new MenuLabel { INVENTORY , geom2d : : rect < float > ( vf2d { 2 , float ( initialInvHeight * totalSpacing + itemSpacing ) } , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , true , true } ;
inventoryWindow - > AddComponent ( " itemDescription " , itemDescriptionLabel ) ;
inventoryWindow - > AddComponent ( " itemDescription " , itemDescriptionLabel ) ;