Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Prevent stroke from changing dimensions position of frame? (cs4)

Return to Member Forum

  • Author
    Posts
    • #56713
      hyland b.
      Member

      It seems like this would be a preference setting, but I cannot find it. Something like “Place strokes inside of frame”?

      For example, if I make a graphic frame:
      X: 1″
      Y: 1″
      W: 2″
      H: 2″

      And then add a 1pt stroke to it, it adds the weight of the stroke to the outside of the frame:
      X: 0.9861″
      Y: 0.9861″
      W: 2.0278″
      H: 2.0278″

      I'd like to preserve my “clean” whole numbers *and* tinker with stroke weights on the fly, if possible. — tks!

    • #56716

      Check the Transformation panel popup menu — I think the setting you seek is in there.

    • #56721
      Tom Pardy
      Member

      Um . . . I may have misunderstood the question, but . . .

      In the strokes panel, after you select the size (weight) of the stroke, three little buttons with the title “align stroke” become active. The middle one of these, if selected, aligns your stroke to the inside of the frame, thus keeping your frame to its original dimensions. You can tinker with the stroke widths (weights) as much as you like and, rather than expanding the frame by the stroke width (if you choose the first button) or twice the stroke width (if you choose the third button), the stroke, regardless of width, impedes only onto the graphic content.

      I am using CS4 but imagine it will be very similar (if not the same) in CS5.

    • #56722

      by default, the stroke is centreline, so the moment a 1pt stroke is added to a rectangle for example, its size will increase by 1pt (.5pt left, .5pt right, .5pt top, .5pt bottom). to avoid this, once the stroke is made, go to the stroke panel and make sure that rather than being centreline, change the stroke to “align stroke to inside” and the rectangle will be the same size as it was prior to adding the stroke.

      i don't know how to make “align stroke to inside” a default though, which would save the process of fixing this every time.

    • #56724

      I still feel “Dimensions Include Stroke Weight” is what Hyland is looking for :)

    • #56740
      hyland b.
      Member

      Jongware, Furry & CW, you're all right!

      Funny: with Transform Panel's 2 options: Dimensions include (or don't include) Stroke Weights; and Stroke Panel's 3 options (Align Stroke Center, Inside, or Outside)… there are 6 possible settings.

      All of which are illustrated here:
      https://hylandbaron.com/images/…..stroke.jpg

      (You might want to drag the image to your desktop to read the captions, as browsers reduce the image. It's only 209k, but it's 800 x 1000)

      The green boxes (2 & 5) do what I want. Funny: the “Align Stroke Inside” option makes the Transform Panel setting moot.

      CW, you ID'd the grrrrrrr factor:
      “i don't know how to make “align stroke to inside” a default though, which would save the process of fixing this every time.”

      Once you change an object's stroke to 0, the Stroke Panel automatically switches back to the (teeny tiny!) “Align Stroke to Center” setting. (Pink boxes, 1 & 4)

      So when you add a 6 pt rule, the object is suddenly 6 pts wider and taller.

      And depending on which of the two Transform Panel options are selected… the x,y,w,h fields in the CP may or *may not* change / alert you.

      If you're on “Dims incl. Stroke Weight”, then at least the object's dimensions will change in CP, which is better than *no* red flag at all.

      I tried to figure out how to circumvent this with Object Styles, but there's no way around the stroke setting reverting to “Align Center” once you set the stroke to zero.

      *Thanks* guys for helping me figure out what was at the bottom of this!

    • #58358
      deejson
      Participant

      there is an unresolved issue with aligning stroke to inside (https://forums.adobe.com/messag…..61#2226261), so the preference setting provided by Jongware may be a better solution.

Viewing 6 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads