[buildUpTextNetwork:] The text container no

longer tracks its view by default.
[initWithFrame:textContainer:] the view is no longer resizable by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7895 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2000-10-23 23:25:46 +00:00
parent b682bebc80
commit cf2cd53ca5

View file

@ -1546,7 +1546,7 @@ NSRange MakeRangeFromAbs (unsigned a1, unsigned a2)
_tf.imports_graphics = NO;
_tf.draws_background = YES;
_tf.is_horizontally_resizable = NO;
_tf.is_vertically_resizable = YES;
_tf.is_vertically_resizable = NO;
_tf.uses_font_panel = YES;
_tf.uses_ruler = YES;
_tf.is_ruler_visible = NO;
@ -2313,9 +2313,6 @@ other than copy/paste or dragging. */
NSLayoutManager *layoutManager = [[NSLayoutManager alloc] init];
NSTextStorage *textStorage = [[NSTextStorage alloc] init];
[aTextContainer setWidthTracksTextView: YES];
[aTextContainer setHeightTracksTextView: YES];
[layoutManager addTextContainer: aTextContainer];
[textStorage addLayoutManager: layoutManager];
AUTORELEASE(aTextContainer);