mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:41:31 +00:00
Patch from George to fix bounding rect stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10525 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
82fff1ebf0
commit
4adb0bb3b0
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-07-19 Georg Fleischmann
|
||||
|
||||
* gui/Source/GSSimpleLayoutManager.m
|
||||
[GSSimpleLayoutManager boundingRectForGlyphRange:inTextContainer:]:
|
||||
no inversion of rect.width (width - rect.size.width)
|
||||
|
||||
2001-07-17 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSTableView.m (-addTableColumn:): Remove redundant mallocs.
|
||||
|
|
|
@ -323,7 +323,7 @@ static NSCharacterSet *invSelectionWordGranularitySet;
|
|||
|
||||
if (![_textStorage length] || ![_lineLayoutInformation count])
|
||||
{
|
||||
return NSMakeRect(0, 0, width, 12);
|
||||
return NSMakeRect(0, 0, 0, 12);
|
||||
}
|
||||
|
||||
i1 = [self lineLayoutIndexForGlyphIndex: aRange.location];
|
||||
|
@ -339,7 +339,6 @@ static NSCharacterSet *invSelectionWordGranularitySet;
|
|||
rect1 = NSUnionRect(rect1, currentInfo->usedRect);
|
||||
}
|
||||
|
||||
rect1.size.width = width - rect1.origin.x;
|
||||
return rect1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue