1 Reply Latest reply on Nov 23, 2009 5:26 AM by Harbs.

    direction of fit frameToContent

    BenjaminX

      Hi,

      when I doubleclick a bounding box of a textframe in the ID CS4 UI, it shrinks/expands in the direction I want it to. With a script I can do

      app.activeDocument.textFrames.everyItem().fit(FitOptions.FRAME_TO_CONTENT);

      But how do I just let it fit, for example, upwards?

       

      My ugly workaround idea would be to fit all textframes and then reset the y-position of the textframes to what it was before/should be.

       

      (And how do I make this a feature request?)

       

      CS2 seemed to fit with some more sense, like away from margins or guides...

       

      Thanks! Ben