Fitting a frame to its content - Adobe Indesign

This is a discussion on Fitting a frame to its content - Adobe Indesign ; My current approach to adding captioned figures to a book is to use a library item consisting of a text frame containing the caption, with another frame anchored before the caption, position set to inline, so that it stays a ...

+ Reply to Thread
Results 1 to 4 of 4

Fitting a frame to its content

  1. Default Fitting a frame to its content

    My current approach to adding captioned figures to a book is to use a library item consisting of a text frame containing the caption, with another frame anchored before the caption, position set to inline, so that it stays a fixed distance above the caption. The outer frame is the full text width, to accommodate the biggest picture I might use, but often the picture is narrower. (This may not be the best approach, but it works for me where others didn't.)

    I place the item, then place a picture inside this anchored frame and fit the frame to its content, which works as you would expect. If I then select the outer frame (containing both the caption and the picture), and press cmd-opt-c, the height snaps to match the height of the picture plus caption, but the width stays at the full text width. I have not set the text frame to fixed column width. (Honestly, I checked.)

    I just discovered that in CS3, double-clicking a handle in a frame fits it to its content. When I do this, my outer frame fits itself, both height and width, to its contents.

    Can anyone explain this?

  2. Default Re: Fitting a frame to its content

    Double-clicking a bounding box handle so that it shrinks to the content is a new feature in CS3 only.

  3. Default Re: Fitting a frame to its content

    I know. My question was why does the double-click work when cmd-opt-c doesn't? In other words, is there a difference between the semantics of double-clicking a corner handle and the Object>Fitting>Fit Frame to Content command, apart from the direction in which the frame contracts?

    Sorry if this wasn't clear.

    (I should probably also have mentioned that I can usually ensure that the caption is shorter than the width of the image, so it should interfere with the width fitting.)

  4. Default Re: Fitting a frame to its content

    The new feature (double-clicking the handles) offers more because where you click indicates what you want to have happen. The generic Fit Frame to Content works the same way as before (although there is a bug that has been introduced if you have a text frame interrupted by a text wrap that you want to enlarge doing this -- it used to work in CS2, but in CS3 the text frame mysteriously shortens to the bottom of the wrap.

    Dave

+ Reply to Thread

Similar Threads

  1. Script for frame fitting options - crop
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 09-25-2007, 06:11 AM
  2. InDesign CS Text Frame Fitting or Resizing.and Text in Cells Disappears
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 02-01-2007, 12:39 AM
  3. Fit Frame to Content + asdf
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 07-25-2004, 04:02 AM
  4. Fit Frame to Content + asdfasdf
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 07-25-2004, 04:02 AM
  5. Fit Frame to Content +
    By Application Development in forum Adobe Indesign
    Replies: 0
    Last Post: 07-25-2004, 04:02 AM