Coming from plug-in development on Mac, first thing I noticed when testing a project on Windows (after making standard c++17 features compile ) was that the plug-in window size is too big. Height and width are around 135 % bigger compared to Mac on the same display. So I thought, maybe I just have to change DPI or other settings of the OS first. But then I realized that none of the OS settings affect the plug-in window size. So…
- Congratulations on making iplug2 look-and-feel agnostic to view scaling factors.
- Why is my plug-in so big? Which settings do I have to tweak?
- Could it be that the scaling is not calculated correctly by iplug2?
- Is there a programmatic way to compensate for the scaling? (I have a user option for resize with different scaling factors, which is good, but I don’t want the default setting to already look like a tool for the blind).
Interestingly, a screen shot of the window has the expected dimensions in terms of pixels, which is
(PLUG_WIDTH*2) * (PLUG_HEIGHT*2).