How to scale canvas content according to screen resolution?

I am working with unity in my notepad, so my resolution is 1024x600, this has given me some problems since I can not visualize the content of some elements of the UI properly.

As you can see in the first image, the elements in the red box are set to a resolution of 3840x2160, so that they look very very small in my (forgive the redundancy) small screen.

So my question is, how to auto scale the content of my canvas depending on the resolution of my screen without lost quality? (as described in the second image).

Select your canvas and on the inspector you will see a Canvas Scaler. It has a dropdown called UI scaled mode.

Change that to Scale with screen size