Label + field on same line?

Label + field on same line?

Hi everyone,

I'm trying to design a compact form that utilises space efficiently and to do that I am trying to have some fields on the same line as the image below (This on a form I've designed previously):

Although I have no idea how I did it, does anyone know the setting for achieving this?

Currently my new form looks like this:


Thank you for your time!
-Aaron