How to set the minimum width & height of a CEP extension

New Here ,
Jun 03, 2022 Jun 03, 2022

Copy link to clipboard

Copied

Hello!

 

I'm trying to figure out how to set the minimum & maximum width & height in the manifest. However, I'm finding that even though I set the values properly I can still resize the panel to be whatever I want - is there a way for me to set those values?

<UI>
          <Type>Panel</Type>
          <Menu>Storyblocks Amazing Plugin</Menu>
          <Geometry>
            <Size>
              <Height>270</Height>
              <Width>270</Width>
            </Size>
            <MaxSize>
              <Height>400</Height>
              <Width>400</Width>
            </MaxSize>
            <MinSize>
              <Height>270</Height>
              <Width>270</Width>
            </MinSize>
          </Geometry>
          <Icons />
        </UI>

 

This is a sample of my manifest.xml of how I'm setting those values.

 

Thanks!

TOPICS
SDK , User interface or workspaces

Views

80

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jun 03, 2022 Jun 03, 2022

Your testing matches our expectations. 🙂

PPro doesn't honor the minimum or maximum size flag. Nearly all users dock their panels, and once they're docked, the Workspace, not the panel, determines dimensions. 

Likes

Translate

Translate
New Here ,
Jun 03, 2022 Jun 03, 2022

Copy link to clipboard

Copied

To clarify - I've tried messing with the panel in both docked & undocked modes and I'm able to resize it to whatever I want in both instances.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 03, 2022 Jun 03, 2022

Copy link to clipboard

Copied

Your testing matches our expectations. 🙂

PPro doesn't honor the minimum or maximum size flag. Nearly all users dock their panels, and once they're docked, the Workspace, not the panel, determines dimensions. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2022 Jun 06, 2022

Copy link to clipboard

Copied

LATEST

Got it, thank you Bruce!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines