Set Viewport Scale

To scale my UI for different devices, I want to use “Set Viewport Scale” (setting the DPI scale that is accessible through the project settings. Unfortunately this node is not available (there is only “Get Viewport Scale”). Does anyone know of a workaround for this?

I can’t scale purely on resolution because I’m using pixelstreaming with a resolution that is different from the ‘real’ resolution.

A similar question was asked <here>, but there was never an answer.