Is there a way to scale the ui?

is there a way to scale the ui?

Only with an mod but then you cant join most servers anymore.