I want to create webview inside dialog which would be the same size as photoshop window, but i think there is no possibility to get current photoshop window size. I can make very big numbers of width and height of dialog component, then it fits automatically to maximum size, but this maximum size is a full screen of desktop, not photoshop window, then dialog window is bigger than photoshop one, which is not what i expected .
So its possible to get photoshop window size from inside uxp plugin?