diff --git a/AppKit/CPTextView/CPTextContainer.j b/AppKit/CPTextView/CPTextContainer.j index 259a58d1f..32f153d46 100755 --- a/AppKit/CPTextView/CPTextContainer.j +++ b/AppKit/CPTextView/CPTextContainer.j @@ -120,6 +120,7 @@ CPLineMovesUp = 4; actualCharacterRange:NULL]; [_layoutManager _validateLayoutAndGlyphs]; + [_textView sizeToFit]; // this is necessary to adopt the height of CPTextView in case of rewrapping } }