2 Replies Latest reply on Oct 25, 2011 5:31 AM by B4stien

    Minimum window size

    B4stien Level 1

      Hi everyone,

       

      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[0] 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.

       

      -- Bastien