mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Changes to correct bug#34919. NSTextView should now correctly show the padding set in the lineFragmentPadding attribute of NSTextContainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34222 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
29539acfe6
commit
46080b8730
4 changed files with 21 additions and 3 deletions
|
@ -956,6 +956,11 @@ has the same y origin and height as the line frag rect it is in.
|
|||
if (i == -1 || textcontainers[i].textContainer != textContainer)
|
||||
return NSZeroRect;
|
||||
|
||||
if(cindex == 0)
|
||||
{
|
||||
r.origin.x += [textContainer lineFragmentPadding];
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue