Plugin resize via JS

Hi,
I make additional custom panels with width and height parameters in my plugin. I want to create some presets for users with these parameters. Can I change the plug-in size in UXP using js?

It could be done with this code for CEP:

CSInterface.prototype.resizeContent = function(width, height) {
    window.__adobe_cep__.resizeContent(width, height);
};

Does UXP have something similar?

1 Like

UXP does not currently have any mechanism for controlling the size of the panels dynamically.

Have there been any changes in 2022?
Is there any plan to add such functionality in the future if it hasn’t been added yet?

1 Like

Hello Kerri,

Can we have this feature soon? CEP used to do it very good and it was very usefl, specially for my user experience with my customers. My plugin needs it some how.

2 Likes

@kerrishotts any news about this? Users that has low resolution monitors need this some how to make it work better and make my “compact mode” available on my plugin.

1 Like