Slider for UI scaling + Viewport Resolution

As a request, i would like to have a custom UI Scaling aswell as a custom renderport Resolution by % or pixels. I am using a 4k Ultrawide but i have to scale down my whole graphics to run the software for now.