VST3 scaling factor on Windows

Hi,

I’m fighting a bit with the changes of JUCE 6 related to the plugin scaling factor on Windows, as my images appear very blurry in VST hosts when the windows scaling is not 100%.

I understand that there is the function AudioProcessorEditor::setScaleFactor that is called with the actual scale, but the problem is that this information is not yet available during the construction of the AudioProcessorEditor.

Is it possible to provide the scale factor during AudioProcessor::createEditor ?