Perhaps one of these posts will be helpful?
https://forum.inductiveautomation.com/search?q=perspective%20popup%20resize