I can't find a way to prevent user from resizing the extension window below a certain size. I've tried to set a min_height and min_width of the extension like this:
var instance:CSXSInterface = CSXSInterface.getInstance();
var extension:Extension = instance.getExtensions([instance.getExtensionId()]).data as Extension;
extension.minHeight = 350;
extension.minWidth = 250;
But it doesn't work, I can still manually resize the extension panel in InDesign.
Does anybody knnow how to set the minimum size of the extension window/panel ?
Thanks in advance for your help.
Set the minimums in the manifest.
Thanks, that's exactly what I was looking for.
(Right click on project, CS Extension Builder > Bundle Manifest Editor. Under the Extension tab, select User Interface)