I got to know that most of the legacy windows application are not automatically responsive to DPI scaling mentioned at
How to make electron application responsive to DPI scaling? Currently my electron application's layout is getting spoiled by changing display scale.