mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
* Source/NSTextView.m (-buildUpTextNetwork:): Move setting the
default line framgent padding from here ... * Source/NSTextContainer.m (-initWithContainerSize:): ... to here. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
906908d0a2
commit
8206073dbc
3 changed files with 8 additions and 2 deletions
|
@ -697,7 +697,6 @@ If a text view is added to an empty text network, it keeps its attributes.
|
|||
RELEASE(layoutManager);
|
||||
|
||||
textContainer = [[NSTextContainer alloc] initWithContainerSize: aSize];
|
||||
[textContainer setLineFragmentPadding: 5.0]; // Tests on Cocoa indicate the default value is 5.
|
||||
[layoutManager addTextContainer: textContainer];
|
||||
RELEASE(textContainer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue