Form fields as sentence

I assume this is a big no-go for user experience but I wasn't able to find a question covering this (common) issue.

We are rewriting our desktop GUI and we have to deal with lots of settings / form fields. Some of them include units and I wonder if there is a best practice for dealing with units and labeling them. Right now we put it like this:

enter image description here

What would you recommend doing instead?