mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
[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:
parent
b682bebc80
commit
cf2cd53ca5
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue