I found these things taking too much space from my viewport:
However, if I change the UI scaling in preferences, everything gets smaller. Is it possible to change only the font size of these on-viewport UI, while keeping other UI (like parameters panel) intact?
(I know I can press Shift+F1 to hide them, but I do need them. I just don't need them to be so big.)