mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +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
e11f1e26b3
commit
865c22357b
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-11-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTextView.m (-buildUpTextNetwork:): Move setting the
|
||||
default line framgent padding from here ...
|
||||
* Source/NSTextContainer.m (-initWithContainerSize:): ... to here.
|
||||
|
||||
2011-11-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSOpenGLView.m (-_frameChanged:): Don't send -reshape
|
||||
|
|
|
@ -107,7 +107,8 @@ use bounds rectangle instead of frame? */
|
|||
_layoutManager = nil;
|
||||
_textView = nil;
|
||||
_containerRect.size = aSize;
|
||||
_lineFragmentPadding = 0.0;
|
||||
// Tests on Cocoa indicate the default value is 5.
|
||||
_lineFragmentPadding = 5.0;
|
||||
_observingFrameChanges = NO;
|
||||
_widthTracksTextView = NO;
|
||||
_heightTracksTextView = NO;
|
||||
|
|
|
@ -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…
Reference in a new issue