Select and adjust individual and multiple (four) input fields both numeric and with slider

I am working on a new solution for a graphical tool and need to find alternative versions how a user can adjust fx margin or padding. In this case there are four input fields where the user currently can: 1. Adjust the individual margin by entering a number or using a slider 2. Selec all four fields and then adjusting all four values with a slider.

The current solution needs to optimized and if possible more effient and increase usability. Any input on how to solve this or have you seen some good examples?