Reply To: FIT TextFrame to it's Contents by Java Script

#81032
Keith Gilbert
Participant

@Peter, I’m pretty sure that Marcin is referring to the bounding box “handles” of the text frame, not the frame anchor. As you probably know, double-clicking a side handle shrinks the frame to fit the text horizontally, double-clicking a bottom handle shrinks the frame to fit the text vertically, and double-clicking a corner handle does both.

@Marcin, I’ve encountered situations where the FitOptions.FRAME_TO_CONTENT method refuses to work on a frame, even when that frame can be shrunk just fine by double-clicking on the handles. I’ve had to resort to strange work-arounds on occasion.

This article was last modified on January 23, 2016

Comments (0)

Loading comments...