2 Replies Latest reply on Apr 22, 2017 7:26 AM by Premiopolis

    Panel window height & width: Getting and setting the dimensions

    Premiopolis Level 1

      Setting

      In custom panels for Photoshop, Illustrator, and InDesign it's possible to dynamically set the panel window size with the following command:

      window.__adobe_cep__.resizeContent(YourCustomWidth,YourCustomHeight);
      

      Not so, it seems, for Premiere Pro, After Effects, and Audition.

       

       

      Getting

      window.innerWidth and window.innerHeight seem to work reliably in JS context for

      After Effects, Audition, Photoshop, Illustrator, and InDesign, but not reliably for Premiere.  The innerHeight seems to get jammed at 800.